#include <bits/stdc++.h>
using namespace std;
int main() {
  string a, b;
  int num = stoi(a + b);
  for (int i = 0; i < 330; i++) {
    if ((i + 1) * (i + 1) == num) {
      cout << "Yes" << endl;
      return 0;
    }
  }
  cout << "No" << endl;
  return 0;
}
