Max's submission of Crystals | CodeChef