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