I have doubt in cases like 999. What we have to print in this scenario because we can’t print the final no with preceeding zeros.
Doubt in one test case
the restriction is only if 9 is present. in case of 999 ans is 900 . @Ayush487
i hope your doubt is cleared if yes dont forget mark it as resolved 