import sys input=lambda:sys.stdin.readline().rstrip() H,W,N=map(int,input().split()) print(['YES','NO'][(H*W%2)|((H==1)+(W==1)==1)])