Sayed Atif Ali's submission of Team Split | CodeChef