import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        double in = Double.parseDouble(reader.readLine().replaceFirst(" ", ""));
        double sq = Math.floor(Math.sqrt(in));
        if (Double.compare(sq * sq, in) == 0)
            System.out.print("Yes");
        else
            System.out.print("No");
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        double in = Double.parseDouble(reader.readLine().replaceFirst(" ", ""));
        double sq = Math.floor(Math.sqrt(in));
        if (Double.compare(sq * sq, in) == 0)
            System.out.print("Yes");
        else
            System.out.print("No");
    }
} Main public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        double in = Double.parseDouble(reader.readLine().replaceFirst(" ", ""));
        double sq = Math.floor(Math.sqrt(in));
        if (Double.compare(sq * sq, in) == 0)
            System.out.print("Yes");
        else
            System.out.print("No");
    } main {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        double in = Double.parseDouble(reader.readLine().replaceFirst(" ", ""));
        double sq = Math.floor(Math.sqrt(in));
        if (Double.compare(sq * sq, in) == 0)
            System.out.print("Yes");
        else
            System.out.print("No");
    } BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); reader new BufferedReader(new InputStreamReader(System.in)) double in = Double.parseDouble(reader.readLine().replaceFirst(" ", "")); in Double.parseDouble(reader.readLine().replaceFirst(" ", "")) Double.parseDouble Double reader.readLine().replaceFirst(" ", "") reader.readLine().replaceFirst reader.readLine() reader.readLine reader " " "" double sq = Math.floor(Math.sqrt(in)); sq Math.floor(Math.sqrt(in)) Math.floor Math Math.sqrt(in) Math.sqrt Math in if (Double.compare(sq * sq, in) == 0)
            System.out.print("Yes");
        else
            System.out.print("No"); Double.compare(sq * sq, in) == 0 Double.compare(sq * sq, in) Double.compare Double sq * sq sq sq in 0 System.out.print("Yes") System.out.print System.out System System.out "Yes" System.out.print("No") System.out.print System.out System System.out "No" String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        double in = Double.parseDouble(reader.readLine().replaceFirst(" ", ""));
        double sq = Math.floor(Math.sqrt(in));
        if (Double.compare(sq * sq, in) == 0)
            System.out.print("Yes");
        else
            System.out.print("No");
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        double in = Double.parseDouble(reader.readLine().replaceFirst(" ", ""));
        double sq = Math.floor(Math.sqrt(in));
        if (Double.compare(sq * sq, in) == 0)
            System.out.print("Yes");
        else
            System.out.print("No");
    }
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        double in = Double.parseDouble(reader.readLine().replaceFirst(" ", ""));
        double sq = Math.floor(Math.sqrt(in));
        if (Double.compare(sq * sq, in) == 0)
            System.out.print("Yes");
        else
            System.out.print("No");
    }
}
