https://programmers.co.kr/learn/courses/18/lessons/1878?language=javascript
function solution(v) {
const x=[], y=[], answer=[];
v.map(v=> {
x.push(v[0]);
y.push(v[1]);
})
answer.push(x[0]^x[1]^x[2]);
answer.push(y[0]^y[1]^y[2]);
return answer;
}