Question 12
A game begins with four piles containing 20, 22, 25 and 27 marbles. On each turn a player takes 3 marbles from the largest pile and gives one to each of the other three piles. How many marbles are in the smallest pile after the 2022nd turn?