

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.HashMap;
import java.util.Map;
import java.util.Scanner;

public class KanBanNumbers {

	private static final Map<Integer, String> numberMap = new HashMap();

	private static void initializeMap() {
		numberMap.put(0, "zero");
		numberMap.put(1, "one");
		numberMap.put(2, "two");
		numberMap.put(3, "three");
		numberMap.put(4, "four");
		numberMap.put(5, "five");
		numberMap.put(6, "six");
		numberMap.put(7, "seven");
		numberMap.put(8, "eight");
		numberMap.put(9, "nine");
		numberMap.put(10, "ten");
		numberMap.put(11, "eleven");
		numberMap.put(12, "twelve");
		numberMap.put(13, "thirteen");
		numberMap.put(14, "fourteen");
		numberMap.put(15, "fifteen");
		numberMap.put(16, "sixteen");
		numberMap.put(17, "seventeen");
		numberMap.put(18, "eighteen");
		numberMap.put(19, "nineteen");
		numberMap.put(20, "twenty");
		numberMap.put(30, "thirty");
		numberMap.put(40, "fourty");
		numberMap.put(50, "fifty");
		numberMap.put(60, "sixty");
		numberMap.put(70, "seventy");
		numberMap.put(80, "eighty");
		numberMap.put(90, "ninty");
	}

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		initializeMap();
		String result = "";
		if (numberMap.containsKey(n)) {
			result = numberMap.get(n);
		} else {
			String number = String.valueOf(n);
			int count = number.length() - 1;
			for (char c : number.toCharArray()) {
				int z = Integer.parseInt(c + "");
				z *= Math.pow(10, count);
				result += numberMap.get(z);
				count--;
			}
		}
		if(result.contains("n"))
			System.out.println("NO");
		else
			System.out.println("YES");
		sc.close();
	}
}
