import java.util.*;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        
        String num = "";
        for (String line: lines) {
            num += line;
        }

        if (isSquareNumber(Integer.parseInt(num))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }

    public static boolean isSquareNumber(int number) {
        double sn = Math.sqrt(number);
        int num1 = (int)sn;
        if (sn - num1 == 0) {
            return true;
        } else {
            return false;
        }
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        
        String num = "";
        for (String line: lines) {
            num += line;
        }

        if (isSquareNumber(Integer.parseInt(num))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }

    public static boolean isSquareNumber(int number) {
        double sn = Math.sqrt(number);
        int num1 = (int)sn;
        if (sn - num1 == 0) {
            return true;
        } else {
            return false;
        }
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        
        String num = "";
        for (String line: lines) {
            num += line;
        }

        if (isSquareNumber(Integer.parseInt(num))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } main {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        
        String num = "";
        for (String line: lines) {
            num += line;
        }

        if (isSquareNumber(Integer.parseInt(num))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] lines = sc.nextLine().split(" "); lines sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " String num = ""; num "" for (String line: lines) {
            num += line;
        } String line lines {
            num += line;
        } {
            num += line;
        } num += line num line if (isSquareNumber(Integer.parseInt(num))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        } isSquareNumber(Integer.parseInt(num)) isSquareNumber Integer.parseInt(num) Integer.parseInt Integer num {
            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 static boolean isSquareNumber(int number) {
        double sn = Math.sqrt(number);
        int num1 = (int)sn;
        if (sn - num1 == 0) {
            return true;
        } else {
            return false;
        }
    } isSquareNumber {
        double sn = Math.sqrt(number);
        int num1 = (int)sn;
        if (sn - num1 == 0) {
            return true;
        } else {
            return false;
        }
    } double sn = Math.sqrt(number); sn Math.sqrt(number) Math.sqrt Math number int num1 = (int)sn; num1 (int)sn if (sn - num1 == 0) {
            return true;
        } else {
            return false;
        } sn - num1 == 0 sn - num1 sn num1 0 {
            return true;
        } return true; true {
            return false;
        } return false; false int number number public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        
        String num = "";
        for (String line: lines) {
            num += line;
        }

        if (isSquareNumber(Integer.parseInt(num))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }

    public static boolean isSquareNumber(int number) {
        double sn = Math.sqrt(number);
        int num1 = (int)sn;
        if (sn - num1 == 0) {
            return true;
        } else {
            return false;
        }
    }
} public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        
        String num = "";
        for (String line: lines) {
            num += line;
        }

        if (isSquareNumber(Integer.parseInt(num))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }

    public static boolean isSquareNumber(int number) {
        double sn = Math.sqrt(number);
        int num1 = (int)sn;
        if (sn - num1 == 0) {
            return true;
        } else {
            return false;
        }
    }
} Main
import java.util.*;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] lines = sc.nextLine().split(" ");
        
        String num = "";
        for (String line: lines) {
            num += line;
        }

        if (isSquareNumber(Integer.parseInt(num))) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }

    public static boolean isSquareNumber(int number) {
        double sn = Math.sqrt(number);
        int num1 = (int)sn;
        if (sn - num1 == 0) {
            return true;
        } else {
            return false;
        }
    }
}
