local n = io.read("*n")
if n % 4 == 0 then
  print("Yes")
elseif n % 4 == 1 then
  print(21 <= n and "Yes" or "No")
elseif n % 4 == 2 then
  print(14 <= n and "Yes" or "No")
else
  print(7 <= n and "Yes" or "No")
end
