'''simple docstring'''




def 						__snake_case (       lowerCAmelCase       :     int			):
 if not isinstance(lowerCAmelCase      ,  lowerCAmelCase			):
  __UpperCAmelCase         =					(
      'operation can not be conducted on a object of type '
      F"""{type(lowerCAmelCase			).__name__}"""
  )
  raise TypeError(lowerCAmelCase			)
 __UpperCAmelCase         =					''
 for _ in range(0      ,  32			):
  bit_string += str(number % 2			)
  __UpperCAmelCase         =					number >> 1
 return bit_string



def 						__snake_case (       lowerCAmelCase       :     int			):
 if number < 0:
  raise ValueError('the value of input must be positive'			)
 elif isinstance(lowerCAmelCase      ,  lowerCAmelCase			):
  raise TypeError('Input value must be a \'int\' type'			)
 elif isinstance(lowerCAmelCase      ,  lowerCAmelCase			):
  raise TypeError('\'<\' not supported between instances of \'str\' and \'int\''			)
 __UpperCAmelCase         =					0
 # iterator over [1 to 32],since we are dealing with 32 bit integer
 for _ in range(1      ,  33			):
  # left shift the bits by unity
  __UpperCAmelCase         =					result << 1
  # get the end bit
  __UpperCAmelCase         =					number % 2
  # right shift the bits by unity
  __UpperCAmelCase         =					number >> 1
  # add that bit to our ans
  __UpperCAmelCase         =					result | end_bit
 return get_reverse_bit_string(lowerCAmelCase			)


if __name__ == "__main__":
     import doctest

     doctest.testmod()




'''simple docstring'''




def 						__snake_case (       lowerCAmelCase       :     str			):
 __UpperCAmelCase         =					5381
 for x in s:
  __UpperCAmelCase         =					((hash_value << 5) + hash_value) + ord(lowerCAmelCase			)
 return hash_value & 0Xffff_ffff



