A farmer has three baskets of eggs. He takes a third of the eggs from the first basket and places them in the second basket. Then he takes half the eggs from the second basket and places them in the third basket. Then he takes a third of the eggs from the third basket and places them in the first basket. When he finishes his maneuverings there are 18 eggs in each basket. How many eggs where in each of the three baskets before he began to move the eggs around?
Answer: 12 eggs in the first basket, 33 in the second, and 9 in the third.