

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.*;
import java.lang.*;
public class Solution{
    public static void main(String[] args){

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();
        
        if(n>=10 && n<=29){
        	if(n==12){
        		System.out.println("YES");
        	}
        	else{
            	System.out.println("NO");
        	}

        }
        else if(n>=90 && n<=99){
            System.out.println("NO");
        }
        else{
        	if(check(n))
            	System.out.println("YES");
            else{
            	System.out.println("NO");
            }
        }
    }
    static boolean check(int n){
        String s = Integer.toString(n);
        if(s.charAt(0)=='7' || s.charAt(0)=='9' ||s.charAt(0)=='1'){
            return false;
        }
        else if(s.length()>1){
        	if(s.charAt(1)=='7' || s.charAt(1)=='9' || s.charAt(1)=='1')
            	return false;

        }
        return true;
    }
}