H, W, C = gets.split.map(&:to_i) puts H.odd? && W.odd? ? "NO" : "YES"