Ashish Khatkar's submission of Balanced Team | CodeChef