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