defmodule Main do def main do IO.read(:line) |> String.trim() |> String.split() |> Enum.map(&String.to_integer/1) |> solve |> IO.puts() end def solve([n, m, _c]) do case [n, m] |> Enum.sort() do [1, 2] -> "YES" [1, _] -> "NO" _ -> cond do n |> rem(2) == 0 -> "YES" :else -> "NO" end end end end