





import unittest
from timeit import timeit





def lowerCAmelCase__(__snake_case	,__snake_case							)    ->				int:







	'''simple docstring'''







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





def lowerCAmelCase__(__snake_case	,__snake_case							)    ->				int:







	'''simple docstring'''







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





def lowerCAmelCase__(__snake_case	,__snake_case							)    ->				int:







	'''simple docstring'''







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





def lowerCAmelCase__()    ->				List[str]:







	'''simple docstring'''







	lowerCamelCase__        =		(
	    '''from __main__ import least_common_multiple_slow, least_common_multiple_fast'''
	)
	print(
	    '''least_common_multiple_slow():'''	,timeit('''least_common_multiple_slow(1000, 999)'''	,setup=__snake_case							)	,)
	print(
	    '''least_common_multiple_fast():'''	,timeit('''least_common_multiple_fast(1000, 999)'''	,setup=__snake_case							)	,)






class  __A   (   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, 195, 124, 210, 1462, 60, 300, 50, 18)





			def 		__lowerCamelCase    (   self							):



				'''simple docstring'''







				for i, (first_num, second_num) in enumerate(self.test_inputs							):
					lowerCamelCase__        =		least_common_multiple_slow(__lowerCAmelCase	,  __lowerCAmelCase							)
					lowerCamelCase__        =		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()













import warnings

from .generation import FlaxGenerationMixin






class  __A   (   lowerCAmelCase			):

			'''simple docstring'''







			warnings.warn(
			    """Importing `FlaxGenerationMixin` from `src/transformers/generation_flax_utils.py` is deprecated and will """
			    """be removed in Transformers v5. Import as `from transformers import FlaxGenerationMixin` instead."""      ,    lowerCAmelCase      ,    )



