Reverse-of-a-number

It takes reverse of integer value having length 10.