a,b,c=map(int,input().split()) a,b=min(a,b),max(a,b) if a==1: if b==2:print("YES") else:print("NO") elif a%2 and b%2:print("NO") else :print("YES")