import java.io.*;
import java.util.*;


public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int n = sc.nextInt();

		for (int i = 0; 4 * i <= 100; i++) {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		}
		
		pr.println("No");
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	}

	static String INPUT = null;

	private static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
} import java.io.*; io.* java import java.util.*; util.* java public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int n = sc.nextInt();

		for (int i = 0; 4 * i <= 100; i++) {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		}
		
		pr.println("No");
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	}

	static String INPUT = null;

	private static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
} Main private static Scanner sc; sc private static Printer pr; pr static String INPUT = null; INPUT null private static void solve() {
		int n = sc.nextInt();

		for (int i = 0; 4 * i <= 100; i++) {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		}
		
		pr.println("No");
	} solve {
		int n = sc.nextInt();

		for (int i = 0; 4 * i <= 100; i++) {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		}
		
		pr.println("No");
	} int n = sc.nextInt(); n sc.nextInt() sc.nextInt sc for (int i = 0; 4 * i <= 100; i++) {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		} int i = 0; int i = 0; i 0 4 * i <= 100 4 * i 4 i 100 i++ i++ i {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		} {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		} for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			} int j = 0; int j = 0; j 0 4 * i + 7 * j <= 100 4 * i + 7 * j 4 * i 4 i 7 * j 7 j 100 j++ j++ j {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			} {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			} if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				} 4 * i + 7 * j == n 4 * i + 7 * j 4 * i 4 i 7 * j 7 j n {
					pr.println("Yes");
					return;
				} pr.println("Yes") pr.println pr "Yes" return; pr.println("No") pr.println pr "No" // ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	} main {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	} sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes())) sc new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes())) pr = new Printer(System.out) pr new Printer(System.out) solve() solve pr.flush() pr.flush pr String[] args args private static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	} Printer Printer(OutputStream out) {
			super(out);
		} Printer {
			super(out);
		} super(out) super out OutputStream out out PrintWriter public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int n = sc.nextInt();

		for (int i = 0; 4 * i <= 100; i++) {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		}
		
		pr.println("No");
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	}

	static String INPUT = null;

	private static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
} public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int n = sc.nextInt();

		for (int i = 0; 4 * i <= 100; i++) {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		}
		
		pr.println("No");
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	}

	static String INPUT = null;

	private static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
} Main
import java.io.*;
import java.util.*;


public class Main {

	private static Scanner sc;
	private static Printer pr;

	private static void solve() {
		int n = sc.nextInt();

		for (int i = 0; 4 * i <= 100; i++) {
			for (int j = 0; 4 * i + 7 * j <= 100; j++) {
				if (4 * i + 7 * j == n) {
					pr.println("Yes");
					return;
				}
			}
		}
		
		pr.println("No");
	}

	// ---------------------------------------------------
	public static void main(String[] args) {
		sc = new Scanner(INPUT == null ? System.in : new ByteArrayInputStream(INPUT.getBytes()));
		pr = new Printer(System.out);

		solve();

//		pr.close();
		pr.flush();
//		sc.close();
	}

	static String INPUT = null;

	private static class Printer extends PrintWriter {
		Printer(OutputStream out) {
			super(out);
		}
	}
}
