A shop had a total of 198 cream buns and tuna buns at first. The ratio of the number of cream buns to the number of tuna buns was 3:8. After an equal number of each type of buns was sold, the ratio of the number of cream buns to the number of tuna buns left was 2:11. How many buns were there in the end?

In the end, there were a total of 154 buns.