function Main(input){
	input = input.split(" ");
	const n = input.join("");
	n = Math.sqrt(n)
  	console.log(Number.isInteger(n) ? 'Yes' : 'No')
}Main(require("fs").readFileSync("/dev/stdin", "utf8").trim());
