John bought 8 bananas at the grocery store. Each banana weighed 50 grams. If the price for the bananas was $6.50 per kilogram, how much did he pay?

8 bananas at 50 g each is 400 g

what is 400/1000 times $6.50 ?