import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer tokenizer = new StringTokenizer(input.readLine());
        int number = Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken());
        double result = Math.sqrt(number);
        int round = (int) result;
        System.out.println(result == round ? "Yes" : "No");
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.StringTokenizer; StringTokenizer java.util public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer tokenizer = new StringTokenizer(input.readLine());
        int number = Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken());
        double result = Math.sqrt(number);
        int round = (int) result;
        System.out.println(result == round ? "Yes" : "No");
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer tokenizer = new StringTokenizer(input.readLine());
        int number = Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken());
        double result = Math.sqrt(number);
        int round = (int) result;
        System.out.println(result == round ? "Yes" : "No");
    } main {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer tokenizer = new StringTokenizer(input.readLine());
        int number = Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken());
        double result = Math.sqrt(number);
        int round = (int) result;
        System.out.println(result == round ? "Yes" : "No");
    } BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); input new BufferedReader(new InputStreamReader(System.in)) StringTokenizer tokenizer = new StringTokenizer(input.readLine()); tokenizer new StringTokenizer(input.readLine()) int number = Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken()); number Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken()) Integer.parseInt Integer tokenizer.nextToken() + tokenizer.nextToken() tokenizer.nextToken() tokenizer.nextToken tokenizer tokenizer.nextToken() tokenizer.nextToken tokenizer double result = Math.sqrt(number); result Math.sqrt(number) Math.sqrt Math number int round = (int) result; round (int) result System.out.println(result == round ? "Yes" : "No") System.out.println System.out System System.out result == round ? "Yes" : "No" result == round result round "Yes" "No" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer tokenizer = new StringTokenizer(input.readLine());
        int number = Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken());
        double result = Math.sqrt(number);
        int round = (int) result;
        System.out.println(result == round ? "Yes" : "No");
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer tokenizer = new StringTokenizer(input.readLine());
        int number = Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken());
        double result = Math.sqrt(number);
        int round = (int) result;
        System.out.println(result == round ? "Yes" : "No");
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer tokenizer = new StringTokenizer(input.readLine());
        int number = Integer.parseInt(tokenizer.nextToken() + tokenizer.nextToken());
        double result = Math.sqrt(number);
        int round = (int) result;
        System.out.println(result == round ? "Yes" : "No");
    }
}
