



"""simple docstring"""







def       _lowerCamelCase				(							UpperCAmelCase_ :       int     )	-> int:






	"""simple docstring"""





	if not isinstance(UpperCAmelCase_,	UpperCAmelCase_     ):
		raise TypeError("only integers accepted as input"     )
	else:
		A__											=					str(abs(UpperCAmelCase_     )     )
		A__											=					[list(UpperCAmelCase_     ) for char in range(len(UpperCAmelCase_     )     )]
		for index in range(len(UpperCAmelCase_     )     ):
			num_transpositions[index].pop(UpperCAmelCase_     )
		return max(
		    int("".join(list(UpperCAmelCase_     )     )     ) for transposition in num_transpositions     )


if __name__ == "__main__":
			__import__("""doctest""").testmod()









"""simple docstring"""







def       _lowerCamelCase				(							UpperCAmelCase_ :       int     )	-> int:






	"""simple docstring"""





	if not isinstance(UpperCAmelCase_,	UpperCAmelCase_     ):
		raise ValueError("Input must be an integer"     )
	if input_num <= 0:
		raise ValueError("Input must be positive"     )
	return sum(
	    divisor for divisor in range(1,	input_num // 2 + 1     ) if input_num % divisor == 0     )


if __name__ == "__main__":
			import doctest

			doctest.testmod()




