
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;

public class Main{


	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int g = Integer.parseInt(scanner.nextLine());
		boolean x = false;

		for(int i = 0; i < 25; i++) {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			}


		if(x)System.out.println("Yes");
		else System.out.println("No");






	}
} import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util import java.util.HashMap; HashMap java.util import java.util.HashSet; HashSet java.util import java.util.List; List java.util import java.util.Map; Map java.util import java.util.Scanner; Scanner java.util import java.util.Set; Set java.util public class Main{


	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int g = Integer.parseInt(scanner.nextLine());
		boolean x = false;

		for(int i = 0; i < 25; i++) {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			}


		if(x)System.out.println("Yes");
		else System.out.println("No");






	}
} Main public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int g = Integer.parseInt(scanner.nextLine());
		boolean x = false;

		for(int i = 0; i < 25; i++) {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			}


		if(x)System.out.println("Yes");
		else System.out.println("No");






	} main {

		Scanner scanner = new Scanner(System.in);
		int g = Integer.parseInt(scanner.nextLine());
		boolean x = false;

		for(int i = 0; i < 25; i++) {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			}


		if(x)System.out.println("Yes");
		else System.out.println("No");






	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int g = Integer.parseInt(scanner.nextLine()); g Integer.parseInt(scanner.nextLine()) Integer.parseInt Integer scanner.nextLine() scanner.nextLine scanner boolean x = false; x false for(int i = 0; i < 25; i++) {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			} int i = 0; int i = 0; i 0 i < 25 i 25 i++ i++ i {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			} {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			} for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				} int j = 0; int j = 0; j 0 j < 15 j 15 j++ j++ j {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				} {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				} if((i * 4 + j * 7) == g ) {

						x = true;
					} (i * 4 + j * 7) == g (i * 4 + j * 7) i * 4 i 4 j * 7 j 7 g {

						x = true;
					} x = true x true if(x)System.out.println("Yes");
		else System.out.println("No"); x System.out.println("Yes") System.out.println System.out System System.out "Yes" System.out.println("No") System.out.println System.out System System.out "No" String[] args args public class Main{


	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int g = Integer.parseInt(scanner.nextLine());
		boolean x = false;

		for(int i = 0; i < 25; i++) {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			}


		if(x)System.out.println("Yes");
		else System.out.println("No");






	}
} public class Main{


	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int g = Integer.parseInt(scanner.nextLine());
		boolean x = false;

		for(int i = 0; i < 25; i++) {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			}


		if(x)System.out.println("Yes");
		else System.out.println("No");






	}
} Main

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.HashSet;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;

public class Main{


	public static void main(String[] args) {

		Scanner scanner = new Scanner(System.in);
		int g = Integer.parseInt(scanner.nextLine());
		boolean x = false;

		for(int i = 0; i < 25; i++) {

				for(int j = 0; j < 15; j++) {

					if((i * 4 + j * 7) == g ) {

						x = true;
					}

				}
			}


		if(x)System.out.println("Yes");
		else System.out.println("No");






	}
}
