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