Glass Bead Game | CodeChef