Sir this is a hackerblock problem


this is code and I am getting a wrong output
so can you help me with this
https://hack.codingblocks.com/app/practice/3/70/problem