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