import sys read = sys.stdin.buffer.read readline = sys.stdin.buffer.readline readlines = sys.stdin.buffer.readlines a,b,c = map(int,read().split()) answer = 'NO' if (a*b)&1 else 'YES' if (a == 1) ^ (b == 1): answer = 'NO' print(answer)