Consider a cost function of the form
C(x)={20,000+980x−x20 for 0≤x<1,000 for x≥1,000.
Calculate the value of C(x) when the marginal cost is 760. Give your answer as an integer, and do not include commas or any symbols other than numbers in your answer.