





'''simple docstring'''


import unittest
from timeit import timeit




def  __a			(  UpperCAmelCase							,      UpperCAmelCase     )   ->int:



	"""simple docstring"""







	A					=   first_num if first_num >= second_num else second_num
	A					=   max_num
	while (common_mult % first_num > 0) or (common_mult % second_num > 0):
		common_mult += max_num
	return common_mult




def  __a			(  UpperCAmelCase							,      UpperCAmelCase     )   ->int:



	"""simple docstring"""







	return b if a == 0 else greatest_common_divisor(b % a							,      UpperCAmelCase     )




def  __a			(  UpperCAmelCase							,      UpperCAmelCase     )   ->int:



	"""simple docstring"""







	return first_num // greatest_common_divisor(UpperCAmelCase							,      UpperCAmelCase     ) * second_num




def  __a			(  )   ->List[Any]:



	"""simple docstring"""







	A					=   (
	    """from __main__ import least_common_multiple_slow, least_common_multiple_fast"""
	)
	print(
	    """least_common_multiple_slow():"""							,      timeit("""least_common_multiple_slow(1000, 999)"""							,      setup=UpperCAmelCase     )							,      )
	print(
	    """least_common_multiple_fast():"""							,      timeit("""least_common_multiple_fast(1000, 999)"""							,      setup=UpperCAmelCase     )							,      )



class 				__UpperCAmelCase	(							unittest.TestCase    ):







		'''simple docstring'''







		__lowerCAmelCase								=     (
		    (10, 20),
		    (13, 15),
		    (4, 31),
		    (10, 42),
		    (43, 34),
		    (5, 12),
		    (12, 25),
		    (10, 25),
		    (6, 9),
		)
		__lowerCAmelCase								=     (20, 1_95, 1_24, 2_10, 14_62, 60, 3_00, 50, 18)







		def 							A  (self    :   Union[str, Any]   ):
			for i, (first_num, second_num) in enumerate(self.test_inputs   ):
				A					=   least_common_multiple_slow(_lowerCAmelCase   ,   _lowerCAmelCase   )
				A					=   least_common_multiple_fast(_lowerCAmelCase   ,   _lowerCAmelCase   )
				with self.subTest(i=_lowerCAmelCase   ):
					self.assertEqual(_lowerCAmelCase   ,   self.expected_results[i]   )
					self.assertEqual(_lowerCAmelCase   ,   self.expected_results[i]   )


if __name__ == "__main__":
				benchmark()
				unittest.main()








'''simple docstring'''


from math import pi




def  __a			(  UpperCAmelCase     )   ->float:



	"""simple docstring"""







	return degree / (180 / pi)


if __name__ == "__main__":
				from doctest import testmod

				testmod()

