N, M, C = map(int, input().split()) if min(N, M) == 1: print("YES" if max(N, M) == 2 else "NO") else: print("YES" if N * M % 2 == 0 else "NO")