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