function Main(input) {
    var nums = parseInt(input.replace(/\s/,''), 10);
    var num = Math.sqrt(nums);

    console.log(Math.round(num) === num ? 'Yes' : 'No');
}
Main(require('fs').readFileSync('/dev/stdin', 'utf8'));