aakash mittal's submission of Box and Ball System | CodeChef