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' if (a,b) in [(1,2),(2,1)]: answer = 'YES' print(answer)