N, M, C = map(int, input().split()) if 1 in (N, M): if 2 in (N, M): print('YES') else: print('NO') elif N % 2 == 0 or M % 2 == 0: print('YES') else: print('NO')