Kishor Joshi's submission of Counting Terms | CodeChef