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