function Main(input) {
  input = input.split("\n");
  var n = parseInt(input[0].split(" ")[0]);
  var ans ="Yes";
  if(n==5||n==6||n==9||n==10||n==13||n==14||n==17||n==21){
    ans="No";
  }
  console.log('%s', ans);
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));