Amrendra Kumar's submission of Team Split | CodeChef