Chewbacca and Number

Hi TAs,
I am not sure where I am going wrong in this question. Can you please look into it?

Code Link: https://ide.codingblocks.com/s/666655

hi @agrawaladitya192 please check try this test case 999
expected 900
output 0

read the question it says “The decimal representation of the final number shouldn’t start with a zero.”