




'''simple docstring'''



import unittest
from timeit import timeit







def 			_UpperCamelCase (_lowerCamelCase							:     int   ,	_lowerCamelCase							:     int	)->   int:




     '''simple docstring'''





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







def 			_UpperCamelCase (_lowerCamelCase							:     int   ,	_lowerCamelCase							:     int	)->   int:




     '''simple docstring'''





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







def 			_UpperCamelCase (_lowerCamelCase							:     int   ,	_lowerCamelCase							:     int	)->   int:




     '''simple docstring'''





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







def 			_UpperCamelCase ()->   Any:




     '''simple docstring'''





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





class     lowerCAmelCase   ( unittest.TestCase):
       __lowercase  :      Any        =			(
           (10, 20),
           (13, 15),
           (4, 31),
           (10, 42),
           (43, 34),
           (5, 12),
           (12, 25),
           (10, 25),
           (6, 9),
       )
       __lowercase  :      Any        =			(20, 195, 124, 210, 1462, 60, 300, 50, 18)


       def       lowerCAmelCase      (   self  )      ->  List[str]:



            '''simple docstring'''




            for i, (first_num, second_num) in enumerate(self.test_inputs  ):
                 __snake_case    					=  least_common_multiple_slow(__SCREAMING_SNAKE_CASE    ,  __SCREAMING_SNAKE_CASE  )
                 __snake_case    					=  least_common_multiple_fast(__SCREAMING_SNAKE_CASE    ,  __SCREAMING_SNAKE_CASE  )
                 with self.subTest(i=__SCREAMING_SNAKE_CASE  ):
                      self.assertEqual(__SCREAMING_SNAKE_CASE    ,  self.expected_results[i]  )
                      self.assertEqual(__SCREAMING_SNAKE_CASE    ,  self.expected_results[i]  )


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












'''simple docstring'''



import warnings

from ...utils import logging
from .image_processing_maskformer import MaskFormerImageProcessor


UpperCAmelCase_       :  int      =		logging.get_logger(__name__)





class     lowerCAmelCase   ( __lowerCAmelCase):


       def __init__(   self    ,  *__SCREAMING_SNAKE_CASE    ,  **__SCREAMING_SNAKE_CASE  )      ->  None:



            '''simple docstring'''




            warnings.warn(
                '''The class MaskFormerFeatureExtractor is deprecated and will be removed in version 5 of Transformers.'''
                ''' Please use MaskFormerImageProcessor instead.'''    ,  __SCREAMING_SNAKE_CASE    ,  )
            super().__init__(*__SCREAMING_SNAKE_CASE    ,  **__SCREAMING_SNAKE_CASE  )






