A farmer needs to buy fertilizer for his field. Fertilizer is sold in bags, each weighing 50 kilograms. The price of one bag of fertilizer is $40. The farmer needs enough fertilizer to cover his 5-hectare field, and it is recommended to use 200 kilograms of fertilizer per hectare. How much will it cost the farmer to buy the necessary amount of fertilizer? Let's think step by step and output the final answer within \boxed{}.
user