N, M, C = gets.split.map(&:to_i) ans = if N * M % 2 == 0 and [N, M].min >= 2 "YES" else "NO" end puts ans