function Main(input) {
	input = input.replace(' ', '');
	var a = parseInt(input, 10);
	var anser = '';
	if(Math.sqrt(a)-Math.floor(Math.sqrt(a)) == 0){
		anser = 'Yes'
    }else{
       	anser = 'No';
    }
	console.log(anser);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));