<human>:  Janet had 22 green pens and 10 yellow pens. Then she bought 6 bags of blue pens and 2 bags of red pens. There were 9 pens in each bag of blue and 6 pens in each bag of red. How many pens does Janet have now?
<bot>: How many pens did Janet have before? ** Janet previously had 22 + 10 = <<22+10=32>>32 pens.
How many blue pens are there? ** The number of blue pens is 6 × 9 = <<6*9=54>>54.
How many red pens are there? ** The number of red pens is 2 × 6 = <<2*6=12>>12.
How many pens does Janet have now? ** Janet has 32 + 54 + 12 = <<32+54+12=98>>98 pens now.
#### 98