Shilp Gupta's submission of Counting Terms | CodeChef