N = int(input()) M = int(input()) if N%2 == 1: M -= 10 if M%2 == 1 or M < 0: print('No') else: print('Yes')