a,b=map(int,input().split()) if a%2==1 and b%2==1: print("No") elif a%2+b%2==1: print("Yes") else: if a%4!=0 and b%4!=0: print("No") else: print("Yes")