The student council bought 7 bags of apples for their fall party. Bags of apples were on sale for $3.45 each. How much did they pay for the apples?