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