import java.util.Scanner;

class Main{



	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);			//文字の入力
		int n = sc.nextInt();
		for(int i = 0;i <= 25;i++){
			for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			}
		}
		System.out.println("No");

		
	
	}


}

class Pair implements Comparable{
	int from;		//p
	int end;		//y
	int num;
	int bango;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	}
}
 import java.util.Scanner; Scanner java.util class Main{



	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);			//文字の入力
		int n = sc.nextInt();
		for(int i = 0;i <= 25;i++){
			for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			}
		}
		System.out.println("No");

		
	
	}


} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);			//文字の入力
		int n = sc.nextInt();
		for(int i = 0;i <= 25;i++){
			for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			}
		}
		System.out.println("No");

		
	
	} main {
		Scanner sc = new Scanner(System.in);			//文字の入力
		int n = sc.nextInt();
		for(int i = 0;i <= 25;i++){
			for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			}
		}
		System.out.println("No");

		
	
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc for(int i = 0;i <= 25;i++){
			for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			}
		} int i = 0; int i = 0; i 0 i <= 25 i 25 i++ i++ i {
			for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			}
		} {
			for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			}
		} for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			} int j = 0; int j = 0; j 0 j <= 15 j 15 j++ j++ j {
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			} {
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			} if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				} 4*i+7*j == n 4*i+7*j 4*i 4 i 7*j 7 j n {
					System.out.println("Yes");
					return;
				} System.out.println("Yes") System.out.println System.out System System.out "Yes" return; System.out.println("No") System.out.println System.out System System.out "No" String[] args args class Pair implements Comparable{
	int from;		//p
	int end;		//y
	int num;
	int bango;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	}
} Pair int from;		//p from int end;		//y end int num; num int bango; bango @Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	} compareTo {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	} Pair otherpair = (Pair)other; otherpair (Pair)other return from - otherpair.from; from - otherpair.from from otherpair.from otherpair otherpair.from Object other other Comparable
import java.util.Scanner;

class Main{



	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);			//文字の入力
		int n = sc.nextInt();
		for(int i = 0;i <= 25;i++){
			for(int j = 0;j <= 15;j++){
				if(4*i+7*j == n){
					System.out.println("Yes");
					return;
				}
			}
		}
		System.out.println("No");

		
	
	}


}

class Pair implements Comparable{
	int from;		//p
	int end;		//y
	int num;
	int bango;
	@Override
	public int compareTo(Object other) {
		Pair otherpair = (Pair)other;

		return from - otherpair.from;
	}
}

