input: Write a python function to check if a number is a palindrome.
  assert check_number(12321) == True
  assert check_number(12345) == False
  assert check_number(11111) == True
  assert check_number(123321) == True
output: def check_number(n):
      return str(n) == str(n)[::-1]