a, b, c = map(int, input()) print('Yes' if a + c == b else 'No')