function Main(input) {
 const test_num = parseInt(input.split(' ').join(''))
 const sqrt = Math.sqrt(test_num);
 const result = (sqrt*sqrt)===test_num
 console.log(result?'Yes':'No')
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));