object Main {
  def main(args:Array[String]) = {
    val sc = new java.util.Scanner(System.in)
    val n = sc.nextInt

    println(
      if(n % 4 == 0 || n % 7 == 0 || n % 11 == 0) "Yes"
      else {
        val m = n % 11
        if(m % 4 == 0 || m % 7 == 0 ) "Yes"
        else "No"
      }
    )
  }
}