N, M, _ = map(int, input().split()) if (N * M) & 1 == 1: print('NO') elif N == 1 or M == 1: print('YES' if N * M == 2 else 'NO') else: print('YES')