

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
/* MOHD SADIQ
    mohdsadiq058
    */

import java.util.*;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.util.ArrayList;

public class Main
{
    private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    private long longVal() throws IOException {
        return Long.parseLong(br.readLine().trim());
    }

    private int intVal() throws IOException {
        return Integer.parseInt(br.readLine().trim());
    }

    private double doubleVal() throws IOException {
        return Double.parseDouble(br.readLine().trim());
    }

    private int[] intArr() throws IOException {
        String[] s = br.readLine().trim().split(" ");
        int n = s.length;
        int[] a = new int[n];
        for (int i = 0; i < n; i++) {
            a[i] = Integer.parseInt(s[i]);
        }
        return a;
    }

    private long[] longArr() throws IOException {
        String[] s = br.readLine().trim().split(" ");
        int n = s.length;
        long[] a = new long[n];
        for (int i = 0; i < n; i++) {
            a[i] = Long.parseLong(s[i]);
        }
        return a;
    }

    private double[] doubleArr() throws IOException {
        String[] s = br.readLine().trim().split(" ");
        int n = s.length;
        double[] a = new double[n];
        for (int i = 0; i < n; i++) {
            a[i] = Double.parseDouble(s[i]);
        }
        return a;
    }

    private String[] stringArr() throws IOException {
        String[] s = br.readLine().trim().split(" ");
        return s;
    }

    private char[] charArr() throws IOException {
        return br.readLine().trim().toCharArray();
    }

    public static String solve() throws IOException{
        Main obj = new Main();
        int n = obj.intVal();
        if(n<=12){
            if(n==1||n==7||n==9||n==10||n==11)
                return "NO";
            return "YES";
        }
        if(n<30)
            return "NO";
        if(n>=70 && n<=79)
            return "NO";
        if(n>=90 && n<=99)
            return "NO";
        n = n%10;
        if(n==1||n==7||n==9)
            return "NO";
        return "YES";
    }
    public static void main(String[] args) throws IOException
    {
        Main ob = new Main();
//        int total_test_case = ob.intVal();
         int total_test_case = 1;
        StringBuffer ans = new StringBuffer();
        String k;
        for (int test_case = 0; test_case < total_test_case; test_case++) {
            k = ob.solve();
            // System.out.println(k);
            ans.append(k+"\n");
        }
        System.out.print(ans);
    }
} 
