Louis is making himself a velvet suit for a formal event. The velvet fabric he chose was $24 per yard. He bought a pattern for $15, and two spools of silver thread for $3 each. If he spent $141 for the pattern, thread, and fabric, how many yards of fabric did he buy? Let's think step by step and output the final answer after "####".
user
Let V be the number of yards of velvet fabric Louis bought.
The silver thread cost 2 * 3 = $<<2*3=6>>6.
He spent 24V + 15 + 6 = $141 on the suit.
The fabric cost 24V = 141 - 15 - 6 = $120.
Thus, Louis bought V = 120 / 24 = <<120/24=5>>5 yards of fabric.
#### 5
Louis is making himself a velvet suit for a formal event. The velvet fabric he chose was $24 per yard. He bought a pattern for $15, and two spools of silver thread for $3 each. If he spent $141 for the pattern, thread, and fabric, how many yards of fabric did he buy?
train