N = int(input()) M = int(input()) if M % 2 != 0: print("No") exit() N += M // 10 if N % 2 != 0: print("No") else: print("Yes")