function main(input) {
    var inputSqrt = input.split(' ').join('')
    if (Math.sqrt(inputSqrt)%1 === 0){
      console.log('Yes')
    } else {
      console.log('No')
    }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));