let scanInts () = stdin.ReadLine().Split() |> Array.map int

let [|n|] = scanInts ()

// mod4
// 0-> ok
// 3-> 3, 7OK
// 2-> 2, 6, 10, 14ok
// 1-> 1.5.9,13,17, 21ok..

match n % 4 with
| 0 -> "Yes"
| 1 -> if n < 21 then "No" else "Yes"
| 2 -> if n < 14 then "No" else "Yes"
| 3 -> if n < 7 then "No" else "Yes"

|> printfn "%s"