import sys input = sys.stdin.readline def getlist(): return list(map(int, input().split())) def main(): x,y,z = getlist() if (x + y + z) % 3 == 0: print("Yes") else: print("No") if __name__ == '__main__': main()