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