from sys import exit N, M, C = [int(t) for t in input().split()] if (N == 1 and M == 2) or (N == 2 or M == 1): print('YES') exit(0) if N < 2 or M < 2 or (N & 2 == 1 and M & 2 == 1): print('NO') else: print('YES')