N, M, C = map(int, raw_input().strip().split()) if N == 1 and M > 2 or M == 1 and N > 2 or (N % 2) * (M % 2) > 0: print('NO') quit() print('YES')