N, M, C = map(int, input().split()) print('NO' if N * M % 2 or ((N == 1 or M == 1) and not (N, M) in {(1, 2), (2, 1)}) else 'YES')