N, M, C = gets.split.map(&:to_i) puts case when N == 1 && M >= 3 then "NO" when M == 1 && N >= 3 then "NO" when N % 2 == 0 || M % 2 == 0 then "YES" else "NO" end