N = int(input().strip()) M = int(input().strip()) a = N * 10 + M if a % 2 == 1: print('No') else: b = a // 2 b = b - min(N * 10, (b // 10) * 10) print('b:{}'.format(b)) if b < M: print('Yes') else: print('No')