n, m, c = [int(x) for x in input().split()] res = False if n == 2 or m == 2: res = True elif n == 1 or m == 1: res = False elif n % 2 == 0 or m % 2 == 0: res = True if res: print('YES') else: print('NO')