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