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

public class Main {

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

		// 一行目
		String s = bf.readLine().replace(" ", "");
		double tmp = Math.sqrt(Integer.parseInt(s));
		tmp -= (int)tmp;
		System.out.println((tmp > 0) ? "No" : "Yes");


	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

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

		// 一行目
		String s = bf.readLine().replace(" ", "");
		double tmp = Math.sqrt(Integer.parseInt(s));
		tmp -= (int)tmp;
		System.out.println((tmp > 0) ? "No" : "Yes");


	}
} Main public static void main(String[] args) throws Exception {
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		// 一行目
		String s = bf.readLine().replace(" ", "");
		double tmp = Math.sqrt(Integer.parseInt(s));
		tmp -= (int)tmp;
		System.out.println((tmp > 0) ? "No" : "Yes");


	} main {
		BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));

		// 一行目
		String s = bf.readLine().replace(" ", "");
		double tmp = Math.sqrt(Integer.parseInt(s));
		tmp -= (int)tmp;
		System.out.println((tmp > 0) ? "No" : "Yes");


	} BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); bf new BufferedReader(new InputStreamReader(System.in)) String s = bf.readLine().replace(" ", ""); s bf.readLine().replace(" ", "") bf.readLine().replace bf.readLine() bf.readLine bf " " "" double tmp = Math.sqrt(Integer.parseInt(s)); tmp Math.sqrt(Integer.parseInt(s)) Math.sqrt Math Integer.parseInt(s) Integer.parseInt Integer s tmp -= (int)tmp tmp (int)tmp System.out.println((tmp > 0) ? "No" : "Yes") System.out.println System.out System System.out (tmp > 0) ? "No" : "Yes" (tmp > 0) tmp 0 "No" "Yes" String[] args args public class Main {

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

		// 一行目
		String s = bf.readLine().replace(" ", "");
		double tmp = Math.sqrt(Integer.parseInt(s));
		tmp -= (int)tmp;
		System.out.println((tmp > 0) ? "No" : "Yes");


	}
} public class Main {

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

		// 一行目
		String s = bf.readLine().replace(" ", "");
		double tmp = Math.sqrt(Integer.parseInt(s));
		tmp -= (int)tmp;
		System.out.println((tmp > 0) ? "No" : "Yes");


	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

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

		// 一行目
		String s = bf.readLine().replace(" ", "");
		double tmp = Math.sqrt(Integer.parseInt(s));
		tmp -= (int)tmp;
		System.out.println((tmp > 0) ? "No" : "Yes");


	}
}
