N, M, C = gets.split.map(&:to_i) if N%2==0 || M%2==0 puts "YES" else puts "NO" end