$\textbf{Camel and Bananas}$
Joe, the owner of a banana farm, has a camel. He wants to transport his $3000$ bananas to the market which is located at the other side of the desert. The distance between his banana farm and the market is $1000$ kilometers. The camel can carry at most $1000$ bananas at a time, and also eats one banana for every kilometer traveled. What is the maximum number of bananas Joe can bring to the market?