import sys input = sys.stdin.readline X,Y,Z=map(int,input().split()) if (X+Y+Z)%3==0: print("Yes") else: print("No")