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