let a, b = Scanf.scanf " %s %s" @@ fun a b -> a, b
let n = int_of_string @@ a ^ b
let i = ref 1
let _ = while !i * !i <= 100100 do if !i * !i = n then (print_endline "Yes"; exit 0); incr i done; print_endline "No"