(N, M, C) = map(int, input().split()) travlable = False if N == 1: if M==2: travlable = True elif M == 1: if N==2: travlable = True elif M%2==0 or N%2==0: travlable = True if travlable: print("YES") else: print("NO")