A, B, C = map(int, input().split()) if (A + B + C) % 3 == 0: print('Yes') else: print('No')