import java.util.Scanner;

class Main {
  public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    int n = stdIn.nextInt();

    if(n < 4){
      System.out.println("No");
      return;
    }
      
    
    for(int i = 0; i < 26; i++){
      for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      }
    }
      System.out.println("No"); 
  }
  
} import java.util.Scanner; Scanner java.util class Main {
  public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    int n = stdIn.nextInt();

    if(n < 4){
      System.out.println("No");
      return;
    }
      
    
    for(int i = 0; i < 26; i++){
      for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      }
    }
      System.out.println("No"); 
  }
  
} Main public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    int n = stdIn.nextInt();

    if(n < 4){
      System.out.println("No");
      return;
    }
      
    
    for(int i = 0; i < 26; i++){
      for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      }
    }
      System.out.println("No"); 
  } main {
    Scanner stdIn = new Scanner(System.in);
    int n = stdIn.nextInt();

    if(n < 4){
      System.out.println("No");
      return;
    }
      
    
    for(int i = 0; i < 26; i++){
      for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      }
    }
      System.out.println("No"); 
  } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int n = stdIn.nextInt(); n stdIn.nextInt() stdIn.nextInt stdIn if(n < 4){
      System.out.println("No");
      return;
    } n < 4 n 4 {
      System.out.println("No");
      return;
    } System.out.println("No") System.out.println System.out System System.out "No" return; for(int i = 0; i < 26; i++){
      for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      }
    } int i = 0; int i = 0; i 0 i < 26 i 26 i++ i++ i {
      for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      }
    } {
      for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      }
    } for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      } 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 > 100)
          break;
      } {
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      } 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; if(4 * i + 7 * j > 100)
          break; 4 * i + 7 * j > 100 4 * i + 7 * j 4 * i 4 i 7 * j 7 j 100 break; System.out.println("No") System.out.println System.out System System.out "No" String[] args args
import java.util.Scanner;

class Main {
  public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    int n = stdIn.nextInt();

    if(n < 4){
      System.out.println("No");
      return;
    }
      
    
    for(int i = 0; i < 26; i++){
      for(int j = 0; j < 15; j++){
        if(4 * i + 7 * j == n){
          System.out.println("Yes");
          return;
        }
        if(4 * i + 7 * j > 100)
          break;
      }
    }
      System.out.println("No"); 
  }
  
}