function solution(n) { let answer = ''; for(let i = 1; i <= n; i++){ i % 2 != 0 ? answer += '수' : answer += '박' } return answer; }
성공