main = getLine >>= putStrLn . solve . map read . words

solve :: [Int] -> String
solve (a:b:_) = if round (sqrt (fromIntegral n)) ^ 2 == n
                then "Yes" else "No"
  where n = read (show a ++ show b)