let rec maxSqrt n num =
  if n*n >= num then
    n
  else
    maxSqrt (n+1) num

let inp = stdin.ReadLine().Split(' ') |> String.concat "" |> int
let maxN = maxSqrt 0 inp
printfn "%s" <| if maxN*maxN = inp then "Yes" else "No"
