Camel Trivia (Math)

A camel must travel 1000 miles across a desert to the nearest city. She has 3000 bananas but can only carry 1000 at a time.
For every mile she walks, she needs to eat a banana. What is the maximum number of bananas she can transport to the city?