a = [int(input()) for i in range(2)] N=a[0] M=a[1] if (N+M/10)%2==0: print('Yes') else: print('No')