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