import java.util.Scanner;

public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);

        int i = Integer.parseInt(scan.nextLine().replace(" ", ""));
        if(isSquareNumber(i)) System.out.println("Yes");
        else System.out.println("No");

        scan.close();
        
    }

    static boolean isSquareNumber (int number) {
        double sqrtOfNumber = Math.sqrt(number);
        return (isInteger(sqrtOfNumber));
    }

    static boolean isInteger (double number) {
        return (number == Math.floor(number));
    }

} import java.util.Scanner; Scanner java.util public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);

        int i = Integer.parseInt(scan.nextLine().replace(" ", ""));
        if(isSquareNumber(i)) System.out.println("Yes");
        else System.out.println("No");

        scan.close();
        
    }

    static boolean isSquareNumber (int number) {
        double sqrtOfNumber = Math.sqrt(number);
        return (isInteger(sqrtOfNumber));
    }

    static boolean isInteger (double number) {
        return (number == Math.floor(number));
    }

} Main public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);

        int i = Integer.parseInt(scan.nextLine().replace(" ", ""));
        if(isSquareNumber(i)) System.out.println("Yes");
        else System.out.println("No");

        scan.close();
        
    } main {
        
        Scanner scan = new Scanner(System.in);

        int i = Integer.parseInt(scan.nextLine().replace(" ", ""));
        if(isSquareNumber(i)) System.out.println("Yes");
        else System.out.println("No");

        scan.close();
        
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int i = Integer.parseInt(scan.nextLine().replace(" ", "")); i Integer.parseInt(scan.nextLine().replace(" ", "")) Integer.parseInt Integer scan.nextLine().replace(" ", "") scan.nextLine().replace scan.nextLine() scan.nextLine scan " " "" if(isSquareNumber(i)) System.out.println("Yes");
        else System.out.println("No"); isSquareNumber(i) isSquareNumber i System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" scan.close() scan.close scan String[] args args static boolean isSquareNumber (int number) {
        double sqrtOfNumber = Math.sqrt(number);
        return (isInteger(sqrtOfNumber));
    } isSquareNumber {
        double sqrtOfNumber = Math.sqrt(number);
        return (isInteger(sqrtOfNumber));
    } double sqrtOfNumber = Math.sqrt(number); sqrtOfNumber Math.sqrt(number) Math.sqrt Math number return (isInteger(sqrtOfNumber)); (isInteger(sqrtOfNumber)) isInteger sqrtOfNumber int number number static boolean isInteger (double number) {
        return (number == Math.floor(number));
    } isInteger {
        return (number == Math.floor(number));
    } return (number == Math.floor(number)); (number == Math.floor(number)) number Math.floor(number) Math.floor Math number double number number public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);

        int i = Integer.parseInt(scan.nextLine().replace(" ", ""));
        if(isSquareNumber(i)) System.out.println("Yes");
        else System.out.println("No");

        scan.close();
        
    }

    static boolean isSquareNumber (int number) {
        double sqrtOfNumber = Math.sqrt(number);
        return (isInteger(sqrtOfNumber));
    }

    static boolean isInteger (double number) {
        return (number == Math.floor(number));
    }

} public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);

        int i = Integer.parseInt(scan.nextLine().replace(" ", ""));
        if(isSquareNumber(i)) System.out.println("Yes");
        else System.out.println("No");

        scan.close();
        
    }

    static boolean isSquareNumber (int number) {
        double sqrtOfNumber = Math.sqrt(number);
        return (isInteger(sqrtOfNumber));
    }

    static boolean isInteger (double number) {
        return (number == Math.floor(number));
    }

} Main
import java.util.Scanner;

public class Main{

    public static void main(String[] args) {
        
        Scanner scan = new Scanner(System.in);

        int i = Integer.parseInt(scan.nextLine().replace(" ", ""));
        if(isSquareNumber(i)) System.out.println("Yes");
        else System.out.println("No");

        scan.close();
        
    }

    static boolean isSquareNumber (int number) {
        double sqrtOfNumber = Math.sqrt(number);
        return (isInteger(sqrtOfNumber));
    }

    static boolean isInteger (double number) {
        return (number == Math.floor(number));
    }

}