Andrés, in his shop, stores the buttons in bags. In box A, he has bags of 24 buttons each with no buttons left. In box B, he has bags of 20 buttons with no buttons left. The number of buttons that are in box A is equal to the number of buttons in box B. What is the minimum number of buttons in each box?