// inputに入力データ全体が入る
function Main(input) {
    var a = input[0].split(" ").join("")-0
    console.log(Math.sqrt(a) == ~~Math.sqrt(a)?"Yes":"No")
}

Main(require("fs").readFileSync("/dev/stdin", "utf8").split("\n"));