import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int num = Integer.parseInt(str[0] + str[1]);
    boolean sqrRootFlg = false;
    for(int i=1; i<=1000; i++) {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    }
    System.out.println(sqrRootFlg==true?"Yes":"No");
  }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.IOException; IOException java.io public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int num = Integer.parseInt(str[0] + str[1]);
    boolean sqrRootFlg = false;
    for(int i=1; i<=1000; i++) {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    }
    System.out.println(sqrRootFlg==true?"Yes":"No");
  }
} Main public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int num = Integer.parseInt(str[0] + str[1]);
    boolean sqrRootFlg = false;
    for(int i=1; i<=1000; i++) {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    }
    System.out.println(sqrRootFlg==true?"Yes":"No");
  } main {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int num = Integer.parseInt(str[0] + str[1]);
    boolean sqrRootFlg = false;
    for(int i=1; i<=1000; i++) {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    }
    System.out.println(sqrRootFlg==true?"Yes":"No");
  } BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String[] str = in.readLine().split(" "); str in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " int num = Integer.parseInt(str[0] + str[1]); num Integer.parseInt(str[0] + str[1]) Integer.parseInt Integer str[0] + str[1] str[0] str 0 str[1] str 1 boolean sqrRootFlg = false; sqrRootFlg false for(int i=1; i<=1000; i++) {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    } int i=1; int i=1; i 1 i<=1000 i 1000 i++ i++ i {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    } {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    } if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      } Math.sqrt(num)==i Math.sqrt(num) Math.sqrt Math num i {
        sqrRootFlg = true;
        break;
      } sqrRootFlg = true sqrRootFlg true break; System.out.println(sqrRootFlg==true?"Yes":"No") System.out.println System.out System System.out sqrRootFlg==true?"Yes":"No" sqrRootFlg==true sqrRootFlg true "Yes" "No" String[] args args public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int num = Integer.parseInt(str[0] + str[1]);
    boolean sqrRootFlg = false;
    for(int i=1; i<=1000; i++) {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    }
    System.out.println(sqrRootFlg==true?"Yes":"No");
  }
} public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int num = Integer.parseInt(str[0] + str[1]);
    boolean sqrRootFlg = false;
    for(int i=1; i<=1000; i++) {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    }
    System.out.println(sqrRootFlg==true?"Yes":"No");
  }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    String[] str = in.readLine().split(" ");
    int num = Integer.parseInt(str[0] + str[1]);
    boolean sqrRootFlg = false;
    for(int i=1; i<=1000; i++) {
      if(Math.sqrt(num)==i) {
        sqrRootFlg = true;
        break;
      }
    }
    System.out.println(sqrRootFlg==true?"Yes":"No");
  }
}