n,m,c = map(int,input().split()) if n>m: n,m = m,n ok = 1 if n*m%2: ok = 0 else: if n==1 and m > 2: ok = 0 print("YES" if ok else "NO")