<human>:  A bakery has 40 less than seven times as many loaves of bread as Sam had last Friday. If Sam had seventy loaves of bread last Friday, how many loaves of bread does the bakery have?
<bot>: How many loaves of bread did Sam have last Friday? ** If Sam had seventy loaves of bread last Friday, seven times that number is 7*70 = 490 loaves.
How many loaves of bread does the bakery have? ** Since the bakery has 40 less than seven times as many loaves of bread as Sam had last Friday, the bakery has 490-40 = 450 loaves of bread
#### 450