Xsight Labs interview question

get a number and reverse it