n,m,c=gets.split.map(&:to_i) puts (m*n==2 or m>1 and n>1 and (m*n).even?) ? "YES" : "NO"