Gold pots problem