x,y,z = map(int,input().split()) x += 100 y += 100 z += 100 if x == y and y == z: print("Yes") exit(0) m = x+y+z if m % 3 != 0: print("No") exit(0) print("Yes")