Level 3 5 m
Roshel had some peaches and oranges in 2 baskets.
In Basket A, the number of peaches to the number of oranges was in the ratio of 5 : 9.
In Basket B, there were thrice as many peaches as oranges.
After Roshel transferred 13 of the oranges from Basket A to Basket B,
the number of fruits left in Basket A was 187
and the ratio of the number of peaches to the number of oranges in Basket B became 7 : 8.
How many fruits were in Basket B in the end?