### Instruction: John buys a chair. He then buys a table that is 3 times the price of the chair. Then, he buys a couch that is 5 times the price of the table. If John paid $380 for all these items, what is the price of the couch? Please respond by writing a program in Python.### Response: # define the total price
total_price = 380

# let's denote the price of the chair as x
# then the price of the table is 3x and the price of the couch is 5*3x = 15x
# the total price is the sum of the prices of the chair, table and couch
# so we have the equation x + 3x + 15x = 380

# solving this equation we find the price of the chair
x = total_price / 19

# then we can find the price of the couch
couch_price = 15 * x

print(couch_price)