import java.util.*;
import java.util.stream.Collectors;
import java.io.*;
import java.nio.charset.StandardCharsets;

public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
		BufferedReader in = new BufferedReader(reader);
		Main ins = new Main(in);
		ins.calc();
		ins.showResult();
	}

	Main(BufferedReader in) throws IOException {
		String[] tokens = in.readLine().split(" ");
		Integer val = Integer.parseInt(tokens[0] + tokens[1]);
		for (int i = 1;; ++i) {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		}
	}

	void calc() {
	}

	void showResult() {
	}
} import java.util.*; util.* java import java.util.stream.Collectors; Collectors java.util.stream import java.io.*; io.* java import java.nio.charset.StandardCharsets; StandardCharsets java.nio.charset public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
		BufferedReader in = new BufferedReader(reader);
		Main ins = new Main(in);
		ins.calc();
		ins.showResult();
	}

	Main(BufferedReader in) throws IOException {
		String[] tokens = in.readLine().split(" ");
		Integer val = Integer.parseInt(tokens[0] + tokens[1]);
		for (int i = 1;; ++i) {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		}
	}

	void calc() {
	}

	void showResult() {
	}
} Main public static void main(String[] args) throws IOException {
		InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
		BufferedReader in = new BufferedReader(reader);
		Main ins = new Main(in);
		ins.calc();
		ins.showResult();
	} main {
		InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
		BufferedReader in = new BufferedReader(reader);
		Main ins = new Main(in);
		ins.calc();
		ins.showResult();
	} InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8); reader new InputStreamReader(System.in, StandardCharsets.UTF_8) BufferedReader in = new BufferedReader(reader); in new BufferedReader(reader) Main ins = new Main(in); ins new Main(in) ins.calc() ins.calc ins ins.showResult() ins.showResult ins String[] args args Main(BufferedReader in) throws IOException {
		String[] tokens = in.readLine().split(" ");
		Integer val = Integer.parseInt(tokens[0] + tokens[1]);
		for (int i = 1;; ++i) {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		}
	} Main {
		String[] tokens = in.readLine().split(" ");
		Integer val = Integer.parseInt(tokens[0] + tokens[1]);
		for (int i = 1;; ++i) {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		}
	} String[] tokens = in.readLine().split(" "); tokens in.readLine().split(" ") in.readLine().split in.readLine() in.readLine in " " Integer val = Integer.parseInt(tokens[0] + tokens[1]); val Integer.parseInt(tokens[0] + tokens[1]) Integer.parseInt Integer tokens[0] + tokens[1] tokens[0] tokens 0 tokens[1] tokens 1 for (int i = 1;; ++i) {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		} int i = 1; int i = 1; i 1 ++i ++i i {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		} {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		} int v = i * i; v i * i i i if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			} v > val v val {
				System.out.println("No");
				break;
			} System.out.println("No") System.out.println System.out System System.out "No" break; if (v == val) {
				System.out.println("Yes");
				break;
			} v == val v val {
				System.out.println("Yes");
				break;
			} System.out.println("Yes") System.out.println System.out System System.out "Yes" break; BufferedReader in in void calc() {
	} calc {
	} void showResult() {
	} showResult {
	} public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
		BufferedReader in = new BufferedReader(reader);
		Main ins = new Main(in);
		ins.calc();
		ins.showResult();
	}

	Main(BufferedReader in) throws IOException {
		String[] tokens = in.readLine().split(" ");
		Integer val = Integer.parseInt(tokens[0] + tokens[1]);
		for (int i = 1;; ++i) {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		}
	}

	void calc() {
	}

	void showResult() {
	}
} public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
		BufferedReader in = new BufferedReader(reader);
		Main ins = new Main(in);
		ins.calc();
		ins.showResult();
	}

	Main(BufferedReader in) throws IOException {
		String[] tokens = in.readLine().split(" ");
		Integer val = Integer.parseInt(tokens[0] + tokens[1]);
		for (int i = 1;; ++i) {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		}
	}

	void calc() {
	}

	void showResult() {
	}
} Main
import java.util.*;
import java.util.stream.Collectors;
import java.io.*;
import java.nio.charset.StandardCharsets;

public class Main {
	public static void main(String[] args) throws IOException {
		InputStreamReader reader = new InputStreamReader(System.in, StandardCharsets.UTF_8);
		BufferedReader in = new BufferedReader(reader);
		Main ins = new Main(in);
		ins.calc();
		ins.showResult();
	}

	Main(BufferedReader in) throws IOException {
		String[] tokens = in.readLine().split(" ");
		Integer val = Integer.parseInt(tokens[0] + tokens[1]);
		for (int i = 1;; ++i) {
			int v = i * i;
			if (v > val) {
				System.out.println("No");
				break;
			} else if (v == val) {
				System.out.println("Yes");
				break;
			}
		}
	}

	void calc() {
	}

	void showResult() {
	}
}
