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