### Instruction: There were 15 males and 10 more girls at the party. Each attendee received 2 cans of soft drinks. If Mary bought several boxes of soft drinks where a box contains 8 cans and is priced at $5 for each box, how much did Mary spend on soft drinks? Please write a program to solve it.### Response: # define the number of males and females
males = 15
females = males + 10

# calculate the total number of attendees
total_attendees = males + females

# define the number of drinks per attendee
drinks_per_attendee = 2

# calculate the total number of drinks
total_drinks = total_attendees * drinks_per_attendee

# define the number of drinks per box and the price per box
drinks_per_box = 8
price_per_box = 5

# calculate the total number of boxes
total_boxes = total_drinks // drinks_per_box
if total_drinks % drinks_per_box != 0:
    total_boxes += 1

# calculate the total cost
total_cost = total_boxes * price_per_box

print(total_cost)