adding reverse number

SPOJ problem http://www.spoj.com/problems/ADDREV/