A logic problem by Rishabh Sood
Mr.Richard is quite an eccentric dairy farmer.
He originally had a total 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 in 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 Richard started pouring?
(input your answer in the order of the numbers,for example if your answer is 26,26,2 then type it as 26262)