import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;

public class Main {
	static int n;

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		// n = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");

		int a = Integer.parseInt(str[0] + str[1]);

		for (int i = 1; i < a / 2; i++) {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		}
		System.out.println("No");
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util public class Main {
	static int n;

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		// n = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");

		int a = Integer.parseInt(str[0] + str[1]);

		for (int i = 1; i < a / 2; i++) {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		}
		System.out.println("No");
	}
} Main static int n; n public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		// n = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");

		int a = Integer.parseInt(str[0] + str[1]);

		for (int i = 1; i < a / 2; i++) {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		}
		System.out.println("No");
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		// n = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");

		int a = Integer.parseInt(str[0] + str[1]);

		for (int i = 1; i < a / 2; i++) {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		}
		System.out.println("No");
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str[] = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int a = Integer.parseInt(str[0] + str[1]); a Integer.parseInt(str[0] + str[1]) Integer.parseInt Integer str[0] + str[1] str[0] str 0 str[1] str 1 for (int i = 1; i < a / 2; i++) {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		} int i = 1; int i = 1; i 1 i < a / 2 i a / 2 a 2 i++ i++ i {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		} {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		} if (i * i == a) {
				System.out.println("Yes");
				return;
			} i * i == a i * i i i a {
				System.out.println("Yes");
				return;
			} System.out.println("Yes") System.out.println System.out System System.out "Yes" return; System.out.println("No") System.out.println System.out System System.out "No" String args[] args public class Main {
	static int n;

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		// n = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");

		int a = Integer.parseInt(str[0] + str[1]);

		for (int i = 1; i < a / 2; i++) {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		}
		System.out.println("No");
	}
} public class Main {
	static int n;

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		// n = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");

		int a = Integer.parseInt(str[0] + str[1]);

		for (int i = 1; i < a / 2; i++) {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		}
		System.out.println("No");
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;

public class Main {
	static int n;

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		// n = Integer.parseInt(br.readLine());
		String str[] = br.readLine().split(" ");

		int a = Integer.parseInt(str[0] + str[1]);

		for (int i = 1; i < a / 2; i++) {
			if (i * i == a) {
				System.out.println("Yes");
				return;
			}
		}
		System.out.println("No");
	}
}