import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] line = sc.nextLine().split(" ", 0);
		double num = Double.parseDouble(line[0] + line[1]);
		double ans = Math.sqrt(num);

		//判定
		String ans_str = Double.toString(ans);
		if (ans_str.endsWith(".0")) {
			System.out.println("Yes");
		}else {
			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[] line = sc.nextLine().split(" ", 0);
		double num = Double.parseDouble(line[0] + line[1]);
		double ans = Math.sqrt(num);

		//判定
		String ans_str = Double.toString(ans);
		if (ans_str.endsWith(".0")) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] line = sc.nextLine().split(" ", 0);
		double num = Double.parseDouble(line[0] + line[1]);
		double ans = Math.sqrt(num);

		//判定
		String ans_str = Double.toString(ans);
		if (ans_str.endsWith(".0")) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		String[] line = sc.nextLine().split(" ", 0);
		double num = Double.parseDouble(line[0] + line[1]);
		double ans = Math.sqrt(num);

		//判定
		String ans_str = Double.toString(ans);
		if (ans_str.endsWith(".0")) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] line = sc.nextLine().split(" ", 0); line sc.nextLine().split(" ", 0) sc.nextLine().split sc.nextLine() sc.nextLine sc " " 0 double num = Double.parseDouble(line[0] + line[1]); num Double.parseDouble(line[0] + line[1]) Double.parseDouble Double line[0] + line[1] line[0] line 0 line[1] line 1 double ans = Math.sqrt(num); ans Math.sqrt(num) Math.sqrt Math num String ans_str = Double.toString(ans); ans_str Double.toString(ans) Double.toString Double ans if (ans_str.endsWith(".0")) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		} ans_str.endsWith(".0") ans_str.endsWith ans_str ".0" {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" {
			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[] line = sc.nextLine().split(" ", 0);
		double num = Double.parseDouble(line[0] + line[1]);
		double ans = Math.sqrt(num);

		//判定
		String ans_str = Double.toString(ans);
		if (ans_str.endsWith(".0")) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String[] line = sc.nextLine().split(" ", 0);
		double num = Double.parseDouble(line[0] + line[1]);
		double ans = Math.sqrt(num);

		//判定
		String ans_str = Double.toString(ans);
		if (ans_str.endsWith(".0")) {
			System.out.println("Yes");
		}else {
			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[] line = sc.nextLine().split(" ", 0);
		double num = Double.parseDouble(line[0] + line[1]);
		double ans = Math.sqrt(num);

		//判定
		String ans_str = Double.toString(ans);
		if (ans_str.endsWith(".0")) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}

}
