import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner scn = new Scanner(System.in);

        int int1 = scn.nextInt();
        int int2 = scn.nextInt();

        String x = Integer.toString(int1) + Integer.toString(int2);

        int y = Integer.parseInt(x);

        if (Math.sqrt(y) == (double) ((int) Math.sqrt(y))) {
            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 scn = new Scanner(System.in);

        int int1 = scn.nextInt();
        int int2 = scn.nextInt();

        String x = Integer.toString(int1) + Integer.toString(int2);

        int y = Integer.parseInt(x);

        if (Math.sqrt(y) == (double) ((int) Math.sqrt(y))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main public static void main(String[] args) {

        Scanner scn = new Scanner(System.in);

        int int1 = scn.nextInt();
        int int2 = scn.nextInt();

        String x = Integer.toString(int1) + Integer.toString(int2);

        int y = Integer.parseInt(x);

        if (Math.sqrt(y) == (double) ((int) Math.sqrt(y))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {

        Scanner scn = new Scanner(System.in);

        int int1 = scn.nextInt();
        int int2 = scn.nextInt();

        String x = Integer.toString(int1) + Integer.toString(int2);

        int y = Integer.parseInt(x);

        if (Math.sqrt(y) == (double) ((int) Math.sqrt(y))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } Scanner scn = new Scanner(System.in); scn new Scanner(System.in) int int1 = scn.nextInt(); int1 scn.nextInt() scn.nextInt scn int int2 = scn.nextInt(); int2 scn.nextInt() scn.nextInt scn String x = Integer.toString(int1) + Integer.toString(int2); x Integer.toString(int1) + Integer.toString(int2) Integer.toString(int1) Integer.toString Integer int1 Integer.toString(int2) Integer.toString Integer int2 int y = Integer.parseInt(x); y Integer.parseInt(x) Integer.parseInt Integer x if (Math.sqrt(y) == (double) ((int) Math.sqrt(y))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } Math.sqrt(y) == (double) ((int) Math.sqrt(y)) Math.sqrt(y) Math.sqrt Math y (double) ((int) Math.sqrt(y)) Math.sqrt Math y {
            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 scn = new Scanner(System.in);

        int int1 = scn.nextInt();
        int int2 = scn.nextInt();

        String x = Integer.toString(int1) + Integer.toString(int2);

        int y = Integer.parseInt(x);

        if (Math.sqrt(y) == (double) ((int) Math.sqrt(y))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} public class Main {
    public static void main(String[] args) {

        Scanner scn = new Scanner(System.in);

        int int1 = scn.nextInt();
        int int2 = scn.nextInt();

        String x = Integer.toString(int1) + Integer.toString(int2);

        int y = Integer.parseInt(x);

        if (Math.sqrt(y) == (double) ((int) Math.sqrt(y))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner scn = new Scanner(System.in);

        int int1 = scn.nextInt();
        int int2 = scn.nextInt();

        String x = Integer.toString(int1) + Integer.toString(int2);

        int y = Integer.parseInt(x);

        if (Math.sqrt(y) == (double) ((int) Math.sqrt(y))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}

