Farmer Stone is quite an eccentric dairy farmer.
He originally had a total of 54 gallons of milk in three churns, and he wanted to make sure each churn contained 18 gallons of milk.
In order to do this, he did the following:
First, he poured 1/4 of the first churn into the second churn.
He then poured 1/2 of the second churn into the third churn.
Finally, he poured 1/3 of the third churn into the first churn.
How many gallons did each churn contain before Farmer Stone started pouring?