### Instruction: Carrie and her mom go to the mall to buy new clothes for school. Carrie buys 4 shirts, 2 pairs of pants, and 2 jackets. Each shirt costs $8. Each pair of pants costs $18. Each jacket costs $60. If Carrie’s mom pays for half of the total cost of all the clothes, how much does Carrie pay for the clothes? Let's write a program.### Response: # define the quantities and prices of each item
shirt_qty = 4
shirt_price = 8
pants_qty = 2
pants_price = 18
jacket_qty = 2
jacket_price = 60

# calculate the total cost of each item
shirt_total = shirt_qty * shirt_price
pants_total = pants_qty * pants_price
jacket_total = jacket_qty * jacket_price

# calculate the total cost of all items
total_cost = shirt_total + pants_total + jacket_total

# calculate how much Carrie pays
carrie_pays = total_cost / 2

# print the result
print(carrie_pays)