import java.lang.Math.sqrt

fun main(args: Array<String>){
    val inp = readLine()!!.split(" ").reduce{ a, b -> a + b }.toDouble()
    val sqrtResult = sqrt(inp)

    if(sqrtResult.toInt() - sqrtResult == 0.0){
        println("Yes")
    }else{
        println("No")
    }
}