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