input: Write a python function to reverse the binary representation of a number.
  assert reverse_binary(13) == 11  # 13 in binary is 1101, reversed binary is 1011, which is 11 in decimal
  assert reverse_binary(47) == 61  # 47 in binary is 101111, reversed binary is 111101, which is 61 in decimal
  assert reverse_binary(5) == 5    # 5 in binary is 101, reversed binary is 101, which is still 5 in decimal
output: def reverse_binary(n):
      binary_representation = bin(n)[2:]  # Get binary representation of n, remove '0b' prefix
      reversed_binary = binary_representation[::-1]  # Reverse the binary string
      return int(reversed_binary, 2)  # Convert reversed binary string to integer