"use strict";

function Main(input) {
  input = parseInt(input.split(" ").join(""));
  const num = Math.sqrt(input);
  if (num - Math.floor(num) == 0) {
    console.log("Yes");
  } else {
    console.log("No");
  }
}

Main(require("fs").readFileSync("/dev/stdin", "utf-8"));
