"""simple docstring"""






def     a_		(   lowerCamelCase   ,     lowerCamelCase			):


				if len(str(lowerCAmelCase_			)			) == 1 or len(str(lowerCAmelCase_			)			) == 1:
								return a * b

				UpperCAmelCase__			 =				max(len(str(lowerCAmelCase_			)			)   ,     len(str(lowerCAmelCase_			)			)			)
				UpperCAmelCase__			 =				ma // 2

				UpperCAmelCase__			 =				divmod(lowerCAmelCase_   ,     1_0**ma			)
				UpperCAmelCase__			 =				divmod(lowerCAmelCase_   ,     1_0**ma			)

				UpperCAmelCase__			 =				karatsuba(lowerCAmelCase_   ,     lowerCAmelCase_			)
				UpperCAmelCase__			 =				karatsuba((aa + aa)   ,     (ba + ba)			)
				UpperCAmelCase__			 =				karatsuba(lowerCAmelCase_   ,     lowerCAmelCase_			)

				return (z * 1_0 ** (2 * ma)) + ((y - z - x) * 1_0 ** (ma)) + (x)



def     a_		(   ):
				print(karatsuba(1_5_4_6_3   ,     2_3_4_8_9			)			)


if __name__ == "__main__":
						main()








'''simple docstring'''






from unittest.mock import patch

import datasets
from datasets import Dataset




def        snake_case_   (	)->						str:





       '''simple docstring'''


       _UpperCAmelCase    :		Tuple     	=					Dataset.from_dict({"""col_1""": [3, 2, 0, 1]}						)

       with patch("""tqdm.auto.tqdm"""						) as mock_tqdm:
              datasets.disable_progress_bar()
              dset.map(lambda lowerCAmelCase_						: {"col_2": x["col_1"] + 1}						)
              mock_tqdm.assert_not_called()

              mock_tqdm.reset_mock()

              datasets.enable_progress_bar()
              dset.map(lambda lowerCAmelCase_						: {"col_2": x["col_1"] + 1}						)
              mock_tqdm.assert_called()



