

"""simple docstring"""




def 	UpperCAmelCase__	(				A__   )      ->      int:




   """simple docstring"""
   lowerCamelCase__						=			hex_num.strip()
   if not hex_num:
      raise ValueError("No value was passed to the function"   )

   lowerCamelCase__						=			hex_num[0] == "-"
   if is_negative:
      lowerCamelCase__						=			hex_num[1:]

   try:
      lowerCamelCase__						=			int(A__	,    16   )
   except ValueError:
      raise ValueError("Invalid value was passed to the function"   )

   lowerCamelCase__						=			""
   while int_num > 0:
      lowerCamelCase__						=			str(int_num % 2   ) + bin_str
      int_num >>= 1

   return int(("-" + bin_str) if is_negative else bin_str   )


if __name__ == "__main__":
     import doctest

     doctest.testmod()







"""simple docstring"""




def 	UpperCAmelCase__   (				A__   )      ->      str:




   """simple docstring"""
   return " ".join(input_str.split()[::-1]   )


if __name__ == "__main__":
     import doctest

     doctest.testmod()




