function solution(p, c) {
const len = p.length
for(let i=0;i<len;i++) {
if(!c.includes(p[i])) {
return p[i]
}
let index = c.indexOf(p[i])
c.splice(index,1)
}
}
function solution(p, c) {
p.sort()
c.sort()
const len = p.length
for(let i=0;i<len;i++){
if(p[i]!==c[i]){
return p[i]
}
}
}