Mikhail Kever's submission of Counting Terms | CodeChef