

Input

The input contains a single integer a (1 ≤ a ≤ 99).

Output

Output "YES" or "NO".

Examples

Input


5


Output


YES


Input


13


Output


NO


Input


24


Output


NO


Input


46


Output


YES
import java.io.*;
import java.util.StringTokenizer;

public class aaa {
    FastScanner in;
    PrintWriter out;
    boolean systemIO = true;


    void solve() {
        int n = in.nextInt();
        if(n==2||n==3||n==4||n==5||n==12||n==46||n==23||n==30||n==35||n==43||n==52||n==64||n==86){
            System.out.println("YES");
        }else{
            System.out.println("NO");
        }
    }


    private void run() throws IOException {
        if (systemIO) {
            in = new aaa.FastScanner(System.in);
            out = new PrintWriter(System.out);
        } else {
            in = new aaa.FastScanner(new File("h.in"));
            out = new PrintWriter(new File("h.out"));
        }
        solve();

        out.close();
    }

    class FastScanner {
        BufferedReader br;
        StringTokenizer st;

        FastScanner(File f) {
            try {
                br = new BufferedReader(new FileReader(f));
            } catch (FileNotFoundException e) {
                e.printStackTrace();
            }
        }

        FastScanner(InputStream f) {
            br = new BufferedReader(new InputStreamReader(f));
        }

        String nextLine() {
            try {
                return br.readLine();
            } catch (IOException e) {
                return null;
            }
        }

        String next() {
            while (st == null || !st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

    }

    public static void main(String[] arg) throws IOException {
        new aaa().run();
    }

}

