import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		boolean flag =true;
		for(int i=0;i<=25;i++){
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		}
		if(flag){System.out.println("No");}
		else{System.out.println("Yes");}
		
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		boolean flag =true;
		for(int i=0;i<=25;i++){
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		}
		if(flag){System.out.println("No");}
		else{System.out.println("Yes");}
		
	}
} Main public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		boolean flag =true;
		for(int i=0;i<=25;i++){
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		}
		if(flag){System.out.println("No");}
		else{System.out.println("Yes");}
		
	} main {
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		boolean flag =true;
		for(int i=0;i<=25;i++){
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		}
		if(flag){System.out.println("No");}
		else{System.out.println("Yes");}
		
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) int n = input.nextInt(); n input.nextInt() input.nextInt input boolean flag =true; flag true for(int i=0;i<=25;i++){
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		} int i=0; int i=0; i 0 i<=25 i 25 i++ i++ i {
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		} {
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		} int all = i*4; all i*4 i 4 while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			} all<=100 all 100 {
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			} if(n==all&&n!=0){flag=false;break;} n==all&&n!=0 n==all n all n!=0 n 0 {flag=false;break;} flag=false flag false break; all=all+7 all all+7 all 7 if(flag==false){break;} flag==false flag false {break;} break; if(flag){System.out.println("No");}
		else{System.out.println("Yes");} flag {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 input = new Scanner(System.in);
		int n = input.nextInt();
		boolean flag =true;
		for(int i=0;i<=25;i++){
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		}
		if(flag){System.out.println("No");}
		else{System.out.println("Yes");}
		
	}
} public class Main{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		boolean flag =true;
		for(int i=0;i<=25;i++){
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		}
		if(flag){System.out.println("No");}
		else{System.out.println("Yes");}
		
	}
} Main
import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner input = new Scanner(System.in);
		int n = input.nextInt();
		boolean flag =true;
		for(int i=0;i<=25;i++){
			int all = i*4;
			while(all<=100){
				if(n==all&&n!=0){flag=false;break;}
				all=all+7;
			}
			if(flag==false){break;}
		}
		if(flag){System.out.println("No");}
		else{System.out.println("Yes");}
		
	}
}