'''simple docstring'''
def 			_UpperCamelCase			(  _a						:						str      ):




    """simple docstring"""



    if num < 0:
        return -1
    return 1 if num else 0







def 			_UpperCamelCase			(  ):




    """simple docstring"""



    assert signum(5      ) == 1
    assert signum(-5      ) == -1
    assert signum(0      ) == 0


if __name__ == "__main__":
  print(signum(1_2))
  print(signum(-1_2))
  print(signum(0))






import random


def 							__lowercase     (	UpperCAmelCase__   ):

					"""simple docstring"""






					def is_sorted(UpperCAmelCase__   ):
										for i in range(len(UpperCAmelCase__   ) - 1   ):
															if collection[i] > collection[i + 1]:
																				return False
										return True

					while not is_sorted(UpperCAmelCase__   ):
										random.shuffle(UpperCAmelCase__   )
					return collection


if __name__ == "__main__":
		lowerCamelCase   					=  input('''Enter numbers separated by a comma:\n''').strip()
		lowerCamelCase   					=  [int(item) for item in user_input.split(''',''')]
		print(bogo_sort(unsorted))






