reverse number

without use of strings
k