N = int(input()) M = int(input()) half_N = N // 2 total_100yen = half_N * 100 if total_100yen % 10 == 0: print("Yes") else: print("No")