"use strict"

const Main= (inpuut)=>{
  const number =inpuut.trim().split(" ").join("")-0
  const heihoukon=Math.pow(number,1/2)
  Number.isInteger(heihoukon)? console.log("Yes"):console.log("No")
}

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