N, M, C = [int(i) for i in input().split()] if (N & 1 == 1) and (M & 1 == 1): print("NO") elif N == 1 or M == 1: print("NO") else: print("YES")