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