

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.util.Scanner;

public class kanban {
	public static String isKanban(int n) {

			if(n == 1 || n == 7 || n == 9) {
				return "NO";
			}

			int firstDigit = n/10;
			int secondDigit = n%10;
			
			if(firstDigit == 1) {
				if(secondDigit == 2) {
					return "YES";
				} else {
					return "NO";
				}
			}
			
			if(firstDigit == 2 || firstDigit == 7 || firstDigit == 9) {
				return "NO";
			}
			
			if(n == 31 || n == 39 ||n == 37 || n == 41 || n == 49 || n == 47 || n == 51 || n == 59 || n == 57 || n == 61 || n == 69 || n == 67 || n == 81 || n == 89 || n == 87) {
				return "NO";
			}
			
			return "YES";
		
	}
	
	public static void main(String args[]) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		
		System.out.println(isKanban(n));
	}
}
