import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		String b = sc.next();
		int c = Integer.parseInt(a+b);
		boolean heihoukon = false;
		for(int i = 0;i<317;i++) {
			if(i*i == c) {
				heihoukon = true;
			}
		}
		if(heihoukon == true) {
			System.out.println("Yes");
		}else if(heihoukon == false) {
			System.out.println("No");
		}

	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		String b = sc.next();
		int c = Integer.parseInt(a+b);
		boolean heihoukon = false;
		for(int i = 0;i<317;i++) {
			if(i*i == c) {
				heihoukon = true;
			}
		}
		if(heihoukon == true) {
			System.out.println("Yes");
		}else if(heihoukon == false) {
			System.out.println("No");
		}

	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		String b = sc.next();
		int c = Integer.parseInt(a+b);
		boolean heihoukon = false;
		for(int i = 0;i<317;i++) {
			if(i*i == c) {
				heihoukon = true;
			}
		}
		if(heihoukon == true) {
			System.out.println("Yes");
		}else if(heihoukon == false) {
			System.out.println("No");
		}

	} main {
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		String b = sc.next();
		int c = Integer.parseInt(a+b);
		boolean heihoukon = false;
		for(int i = 0;i<317;i++) {
			if(i*i == c) {
				heihoukon = true;
			}
		}
		if(heihoukon == true) {
			System.out.println("Yes");
		}else if(heihoukon == false) {
			System.out.println("No");
		}

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String a = sc.next(); a sc.next() sc.next sc String b = sc.next(); b sc.next() sc.next sc int c = Integer.parseInt(a+b); c Integer.parseInt(a+b) Integer.parseInt Integer a+b a b boolean heihoukon = false; heihoukon false for(int i = 0;i<317;i++) {
			if(i*i == c) {
				heihoukon = true;
			}
		} int i = 0; int i = 0; i 0 i<317 i 317 i++ i++ i {
			if(i*i == c) {
				heihoukon = true;
			}
		} {
			if(i*i == c) {
				heihoukon = true;
			}
		} if(i*i == c) {
				heihoukon = true;
			} i*i == c i*i i i c {
				heihoukon = true;
			} heihoukon = true heihoukon true if(heihoukon == true) {
			System.out.println("Yes");
		}else if(heihoukon == false) {
			System.out.println("No");
		} heihoukon == true heihoukon true {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" if(heihoukon == false) {
			System.out.println("No");
		} heihoukon == false heihoukon false {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		String b = sc.next();
		int c = Integer.parseInt(a+b);
		boolean heihoukon = false;
		for(int i = 0;i<317;i++) {
			if(i*i == c) {
				heihoukon = true;
			}
		}
		if(heihoukon == true) {
			System.out.println("Yes");
		}else if(heihoukon == false) {
			System.out.println("No");
		}

	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		String b = sc.next();
		int c = Integer.parseInt(a+b);
		boolean heihoukon = false;
		for(int i = 0;i<317;i++) {
			if(i*i == c) {
				heihoukon = true;
			}
		}
		if(heihoukon == true) {
			System.out.println("Yes");
		}else if(heihoukon == false) {
			System.out.println("No");
		}

	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String a = sc.next();
		String b = sc.next();
		int c = Integer.parseInt(a+b);
		boolean heihoukon = false;
		for(int i = 0;i<317;i++) {
			if(i*i == c) {
				heihoukon = true;
			}
		}
		if(heihoukon == true) {
			System.out.println("Yes");
		}else if(heihoukon == false) {
			System.out.println("No");
		}

	}
}