defmodule Main do def main do IO.read(:line) |> Integer.parse() |> solve |> IO.puts() end def solve({n, _}) do cond do n <= 4 || n |> rem(2) -> "Yes" true -> "No" end end end