import java.util.*;
public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int A = sc.nextInt();
   Integer[] not = {1,2,3,5,6,9,10,13,17};
   if(Arrays.asList(not).contains(A)) 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 A = sc.nextInt();
   Integer[] not = {1,2,3,5,6,9,10,13,17};
   if(Arrays.asList(not).contains(A)) System.out.println("No");
   else System.out.println("Yes");
 }
} Main public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int A = sc.nextInt();
   Integer[] not = {1,2,3,5,6,9,10,13,17};
   if(Arrays.asList(not).contains(A)) System.out.println("No");
   else System.out.println("Yes");
 } main {
   Scanner sc = new Scanner(System.in);
   int A = sc.nextInt();
   Integer[] not = {1,2,3,5,6,9,10,13,17};
   if(Arrays.asList(not).contains(A)) System.out.println("No");
   else System.out.println("Yes");
 } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int A = sc.nextInt(); A sc.nextInt() sc.nextInt sc Integer[] not = {1,2,3,5,6,9,10,13,17}; not {1,2,3,5,6,9,10,13,17} 1 2 3 5 6 9 10 13 17 if(Arrays.asList(not).contains(A)) System.out.println("No");
   else System.out.println("Yes"); Arrays.asList(not).contains(A) Arrays.asList(not).contains Arrays.asList(not) Arrays.asList Arrays not A System.out.println("No") System.out.println System.out System System.out "No" 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 A = sc.nextInt();
   Integer[] not = {1,2,3,5,6,9,10,13,17};
   if(Arrays.asList(not).contains(A)) 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 A = sc.nextInt();
   Integer[] not = {1,2,3,5,6,9,10,13,17};
   if(Arrays.asList(not).contains(A)) 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 A = sc.nextInt();
   Integer[] not = {1,2,3,5,6,9,10,13,17};
   if(Arrays.asList(not).contains(A)) System.out.println("No");
   else System.out.println("Yes");
 }
}