IBM interview question

Insert parenthesis in designated area