FIS interview question

Reverse a number