Wrong Answer on Hackerblock

it is still showing wrong answer on hackerblock question
Link to question:https://hack.codingblocks.com/app/practice/1/1039/problem
Link to Code: https://ide.codingblocks.com/s/473689

hello @ikshuldureja130
checck now->

It worked!! Can you please explain what was wrong with my code?

pls read comments…