import java.io.IOException;
import java.util.NoSuchElementException;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws IOException {
        try (
            BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in))) {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        }
    }
} import java.io.IOException; IOException java.io import java.util.NoSuchElementException; NoSuchElementException java.util import java.io.BufferedReader; BufferedReader java.io import java.io.InputStream; InputStream java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String[] args) throws IOException {
        try (
            BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in))) {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        }
    }
} Main public static void main(String[] args) throws IOException {
        try (
            BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in))) {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        }
    } main {
        try (
            BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in))) {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        }
    } try (
            BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in))) {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        } {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        } BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in)) BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in)) new BufferedReader(
                new InputStreamReader(System.in)) String s = reader.readLine(); s reader.readLine() reader.readLine reader s = s.replace(" ", "") s s.replace(" ", "") s.replace s " " "" final int x = Integer.parseInt(s); x Integer.parseInt(s) Integer.parseInt Integer s boolean flg = false; flg false for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            } int i = 2; int i = 2; i 2 i <= x i x i++ i++ i {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            } {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            } int i2 = i * i; i2 i * i i i if (x < i2) break; x < i2 x i2 break; if (x == i2) {
                    flg = true;
                    break;
                } x == i2 x i2 {
                    flg = true;
                    break;
                } flg = true flg true break; System.out.println(flg ? "Yes" : "No") System.out.println System.out System System.out flg ? "Yes" : "No" flg "Yes" "No" String[] args args public class Main {
    public static void main(String[] args) throws IOException {
        try (
            BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in))) {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        }
    }
} public class Main {
    public static void main(String[] args) throws IOException {
        try (
            BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in))) {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        }
    }
} Main
import java.io.IOException;
import java.util.NoSuchElementException;

import java.io.BufferedReader;
import java.io.InputStream;
import java.io.InputStreamReader;

public class Main {
    public static void main(String[] args) throws IOException {
        try (
            BufferedReader reader = new BufferedReader(
                new InputStreamReader(System.in))) {
            String s = reader.readLine();

            s = s.replace(" ", "");

            final int x = Integer.parseInt(s);

            boolean flg = false;
            for (int i = 2; i <= x; i++) {
                int i2 = i * i;
                if (x < i2) break;
                if (x == i2) {
                    flg = true;
                    break;
                }
            }

            System.out.println(flg ? "Yes" : "No");
        }
    }
}
