x,y,n=gets.split.map{|e| e.to_i} if x==1 || y==1 if (x==1 && y==2) || (x==2 && y==1) puts "YES" else puts "NO" end else if (x*y)%2==1 puts "NO" else puts "YES" end end