I am trying to solve this beginner problem using Python language: https://www.codechef.com/problems/ZUBTRCNT
I have written the code that gives the correct output on