Write a program to reverse a number.
Implement reverse_number(number) using arithmetic operations. Return the integer formed by reversing the decimal digits, preserve the sign of negative inputs, and allow leading zeros in the reversed representation to disappear naturally.
Function signature: reverse_number(number)
The input is an integer, and the output must be an integer.
def reverse_number(number):