n,m,c=map(int,input().split()) if (n==1 and m==2) or (n==2 and m==1): print('YES') elif n==1 or m==1 or (n%2==1 and m%2==1): print('NO') else: print('YES')