import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		int ans = 0;
		for(int i=0; i<15; i++){
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		}

		if(ans==0){
			System.out.println("No");
		}
		else{
			System.out.println("Yes");
		}
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		int ans = 0;
		for(int i=0; i<15; i++){
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		}

		if(ans==0){
			System.out.println("No");
		}
		else{
			System.out.println("Yes");
		}
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		int ans = 0;
		for(int i=0; i<15; i++){
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		}

		if(ans==0){
			System.out.println("No");
		}
		else{
			System.out.println("Yes");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		int ans = 0;
		for(int i=0; i<15; i++){
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		}

		if(ans==0){
			System.out.println("No");
		}
		else{
			System.out.println("Yes");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc int ans = 0; ans 0 for(int i=0; i<15; i++){
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		} int i=0; int i=0; i 0 i<15 i 15 i++ i++ i {
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		} {
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		} if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			} n<0 n 0 {
				break;
			} break; if(n%4==0){
				ans = 1;
				break;
			} n%4==0 n%4 n 4 0 {
				ans = 1;
				break;
			} ans = 1 ans 1 break; n = n-7 n n-7 n 7 if(ans==0){
			System.out.println("No");
		}
		else{
			System.out.println("Yes");
		} ans==0 ans 0 {
			System.out.println("No");
		} System.out.println("No") System.out.println System.out System System.out "No" {
			System.out.println("Yes");
		} System.out.println("Yes") System.out.println System.out System System.out "Yes" String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		int ans = 0;
		for(int i=0; i<15; i++){
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		}

		if(ans==0){
			System.out.println("No");
		}
		else{
			System.out.println("Yes");
		}
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		int ans = 0;
		for(int i=0; i<15; i++){
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		}

		if(ans==0){
			System.out.println("No");
		}
		else{
			System.out.println("Yes");
		}
	}
} Main
import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();

		int ans = 0;
		for(int i=0; i<15; i++){
			if(n<0){
				break;
			}
			else if(n%4==0){
				ans = 1;
				break;
			}
			n = n-7;
		}

		if(ans==0){
			System.out.println("No");
		}
		else{
			System.out.println("Yes");
		}
	}
}