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