import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] ab = scanner.nextLine().split(" ", 2);

        int n = Integer.parseInt(String.format("%s%s", ab[0], ab[1]));
        for (int i = 1; i <= n / 2; i++) {
            if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            }
        }
        System.out.println("No");
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] ab = scanner.nextLine().split(" ", 2);

        int n = Integer.parseInt(String.format("%s%s", ab[0], ab[1]));
        for (int i = 1; i <= n / 2; i++) {
            if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            }
        }
        System.out.println("No");
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] ab = scanner.nextLine().split(" ", 2);

        int n = Integer.parseInt(String.format("%s%s", ab[0], ab[1]));
        for (int i = 1; i <= n / 2; i++) {
            if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            }
        }
        System.out.println("No");
    } main {
        Scanner scanner = new Scanner(System.in);
        String[] ab = scanner.nextLine().split(" ", 2);

        int n = Integer.parseInt(String.format("%s%s", ab[0], ab[1]));
        for (int i = 1; i <= n / 2; i++) {
            if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            }
        }
        System.out.println("No");
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String[] ab = scanner.nextLine().split(" ", 2); ab scanner.nextLine().split(" ", 2) scanner.nextLine().split scanner.nextLine() scanner.nextLine scanner " " 2 int n = Integer.parseInt(String.format("%s%s", ab[0], ab[1])); n Integer.parseInt(String.format("%s%s", ab[0], ab[1])) Integer.parseInt Integer String.format("%s%s", ab[0], ab[1]) String.format String "%s%s" ab[0] ab 0 ab[1] ab 1 for (int i = 1; i <= n / 2; i++) {
            if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            }
        } int i = 1; int i = 1; i 1 i <= n / 2 i n / 2 n 2 i++ i++ i {
            if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            }
        } {
            if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            }
        } if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            } i * i == n i * i i i n {
                System.out.println("Yes");
                return;
            } System.out.println("Yes") System.out.println System.out System System.out "Yes" return; if (i * i > n) {
                break;
            } i * i > n i * i i i n {
                break;
            } break; System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.util.*;

class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String[] ab = scanner.nextLine().split(" ", 2);

        int n = Integer.parseInt(String.format("%s%s", ab[0], ab[1]));
        for (int i = 1; i <= n / 2; i++) {
            if (i * i == n) {
                System.out.println("Yes");
                return;
            } else if (i * i > n) {
                break;
            }
        }
        System.out.println("No");
    }
}
