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? Let's think step by step and output the final answer after "####".
Answer: 5