"use strict"

const Main= (inpuut)=>{
  const number =inpuut.trim().split(" ").join("")[0]-0
  number^(1/2)? console.log("Yes"):console.log("No")
}

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