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