Catherine had an equal number of pencils and pens. If she had 60 pens and gave eight pens and 6 pencils to each of her seven friends and kept the rest for herself, how many pens and pencils did she have left? Let's think step by step and output the final answer after "####".
user
Catherine gave eight pens to each of her seven friends, a total of 8*7 = <<8*7=56>>56 pens.
She remained with 60-56 = <<60-56=4>>4 pens.
When she also gave 6 pencils to each of her seven friends, she gave away 6*7 = <<6*7=42>>42 pencils.
Since she had the same number of pencils as pens, she remained with 60-42 = <<60-42=18>>18 pencils.
The total number of pens and pencils that Catherine remained with is 4+18 = <<4+18=22>>22
#### 22
Catherine had an equal number of pencils and pens. If she had 60 pens and gave eight pens and 6 pencils to each of her seven friends and kept the rest for herself, how many pens and pencils did she have left?
train