COMC 2022 A Problem 3

Initially, there are four red balls, seven green balls, eight blue balls, ten white balls, and eleven black balls on a table. Every minute, we may repaint one of the balls into any of the other four colours. What is the minimum number of minutes after which the number of balls of each of the five colours is the same?