function solution(seoul) {
let str = seoul.indexOf('Kim')
console.log(str)
var answer = `김서방은 ${str}에 있다`;
return answer;
}
function solution(arr){
let answer = [];
for(let i =0; i< arr.length; i++){
if(arr[i] === arr[i+1]){
} else {
answer.push(arr[i])
}
}
return answer;
}