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