"use strict";

function main(input) {
  input = input.split(/\s/).reduce((a, b) => a + b);
  const sqrt = Math.sqrt(input);
  let ans = sqrt == Math.round(sqrt) ? "Yes" : "No";
  console.log(ans);
}

main(require("fs").readFileSync("/dev/stdin", "utf8"));
