Basit's submission of Select the balls | CodeChef