import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No");
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No");
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No");
    } main {
        Scanner sc = new Scanner(System.in);
        System.out.println(Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No");
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) System.out.println(Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No") System.out.println System.out System System.out Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No" Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0 Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1 Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", ""))) Math.sqrt Math Integer.parseInt(sc.nextLine().replaceAll(" ", "")) Integer.parseInt Integer sc.nextLine().replaceAll(" ", "") sc.nextLine().replaceAll sc.nextLine() sc.nextLine sc " " "" 1 0 "Yes" "No" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No");
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No");
    }
} Main
import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println(Math.sqrt(Integer.parseInt(sc.nextLine().replaceAll(" ", "")))%1==0?"Yes":"No");
    }
}