John is making 40 pies and he needs 1.5 cups of flour for each pie. If he buys bags of flour with 10 cups of flour on each bag. How many bags total will he need to make 40 pies?