open System let N,M,C = let t = Console.ReadLine().Split() |> Array.map(int) t.[0],t.[1],t.[2] if N = 1 || M = 1 then "NO" elif N%2 = 0 || M%2 = 0 then "YES" else "NO" |> printfn "%s"