N, M, C = map(int, input().split()) if N == 1 or M == 1: exit(print('NO')) #N, M いずれか偶数ならOK if (N*M)%2 == 0: print('YES') else: print('NO')