manas agrawal's submission of Team Split | CodeChef