Box a had 3 times as many buttons as box b. after 15% of the buttons in box a and 10% of the buttons in box b were transferred to box c, the number of buttons in box c increased by 33%. if box c had 266 buttons in the end, how many buttons were there in box a in the end.