object Main extends App {
	import scala.math._

	val n = scala.io.StdIn.readLine.split(" ").map(_.toInt).mkString.toInt
	val tp = sqrt(n)

	if(tp - tp.toInt == 0) println("Yes")
	else println("No")

}