What if we have to print zeros also?

example,

i/p: 1234500

o/p: 0054321

@rajharsh865 it would be given in the question whether to print leading zeroes or not , in this particular question there is no testcase like that so dont worry.
i hope its cleared dont forget to mark it as resolved :smiley: