import java.io.*;

public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(stdin.readLine().replaceAll(" ", ""));
		int r = (int)Math.floor(Math.sqrt(n));
		String ans = n == r*r ? "Yes" : "No";
		System.out.println(ans);
	}

} import java.io.*; io.* java public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(stdin.readLine().replaceAll(" ", ""));
		int r = (int)Math.floor(Math.sqrt(n));
		String ans = n == r*r ? "Yes" : "No";
		System.out.println(ans);
	}

} Main public static void main(String[] args) throws IOException{
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(stdin.readLine().replaceAll(" ", ""));
		int r = (int)Math.floor(Math.sqrt(n));
		String ans = n == r*r ? "Yes" : "No";
		System.out.println(ans);
	} main {
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(stdin.readLine().replaceAll(" ", ""));
		int r = (int)Math.floor(Math.sqrt(n));
		String ans = n == r*r ? "Yes" : "No";
		System.out.println(ans);
	} BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in)); stdin new BufferedReader(new InputStreamReader(System.in)) int n = Integer.parseInt(stdin.readLine().replaceAll(" ", "")); n Integer.parseInt(stdin.readLine().replaceAll(" ", "")) Integer.parseInt Integer stdin.readLine().replaceAll(" ", "") stdin.readLine().replaceAll stdin.readLine() stdin.readLine stdin " " "" int r = (int)Math.floor(Math.sqrt(n)); r (int)Math.floor(Math.sqrt(n)) Math.floor Math Math.sqrt(n) Math.sqrt Math n String ans = n == r*r ? "Yes" : "No"; ans n == r*r ? "Yes" : "No" n == r*r n r*r r r "Yes" "No" System.out.println(ans) System.out.println System.out System System.out ans String[] args args public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(stdin.readLine().replaceAll(" ", ""));
		int r = (int)Math.floor(Math.sqrt(n));
		String ans = n == r*r ? "Yes" : "No";
		System.out.println(ans);
	}

} public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(stdin.readLine().replaceAll(" ", ""));
		int r = (int)Math.floor(Math.sqrt(n));
		String ans = n == r*r ? "Yes" : "No";
		System.out.println(ans);
	}

} Main
import java.io.*;

public class Main {

	public static void main(String[] args) throws IOException{
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
		int n = Integer.parseInt(stdin.readLine().replaceAll(" ", ""));
		int r = (int)Math.floor(Math.sqrt(n));
		String ans = n == r*r ? "Yes" : "No";
		System.out.println(ans);
	}

}