reverse a number