N, M, C = gets.split.map &:to_i if N.even? || M.even? || N*M == 2 puts :YES else puts :NO end