h,s = map(int,input().split()) if (h-s)%2 == 0:print("Yes") else:print("No")