object Main extends App {
	// your code goes here
	val x = io.StdIn.readLine().replaceAll("[^0-9]+", "").toLong
    val s = math.sqrt(x).round
    (x==s*s) match {
      case true => println("Yes")
      case false => println("No")
    }
}