N, M, C = [int(i) for i in input().strip().split(" ")] if N > M: N, M = M, N if N == 1: if M == 2: print("YES") else: print("NO") else: if N*M % 2 == 0: print("YES") else: print("NO")