Katherine has a total of 3 * 4 apples = <<3*4=12>>12 pears

She therefore had 4 apples + 12 pears = <<4+12=16>>16 apples and pears

We know she has 21 total pieces of fruit, so this means she must have 21 total - 16 = <<21-16=5>>5 bananas

# Answer

5
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
If Katherine has 4 apples and 3 times as many pears in her fridge, how many bananas does she have if she has a total of 21 pieces of fruit?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
5
If Katherine has 4 apples and 3 times as many pears in her fridge, how many bananas does she have if she has a total of 21 pieces of fruit?
train