function Main(input) {
  let result = false;
  if (input % 7 == 0) {
    result = true;
  }
  if (input % 4 == 0) {
    result = true;
  }
  if (input % 11 == 0) {
    result = true;
  }
  if (input % 15 == 0) {
    result = true;
  }
  if (input % 18 == 0) {
    result = true;
  }
  console.log(result ? 'Yes' : 'No');
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));