
def 				lowercase      (_lowerCAmelCase				,  _lowerCAmelCase		):
						if len(str(_lowerCAmelCase		)		) == 1 or len(str(_lowerCAmelCase		)		) == 1:
												return a * b

						__lowerCAmelCase        =       max(len(str(_lowerCAmelCase		)		)				,  len(str(_lowerCAmelCase		)		)		)
						__lowerCAmelCase        =       ma // 2

						__lowerCAmelCase ,      __lowerCAmelCase        =       divmod(_lowerCAmelCase				,  10**ma		)
						__lowerCAmelCase ,      __lowerCAmelCase        =       divmod(_lowerCAmelCase				,  10**ma		)

						__lowerCAmelCase        =       karatsuba(_lowerCAmelCase				,  _lowerCAmelCase		)
						__lowerCAmelCase        =       karatsuba((aa + aa)				,  (ba + ba)		)
						__lowerCAmelCase        =       karatsuba(_lowerCAmelCase				,  _lowerCAmelCase		)

						return (z * 10 ** (2 * ma)) + ((y - z - x) * 10 ** (ma)) + (x)

def 				lowercase      ():
						print(karatsuba(1_5463				,  2_3489		)		)


if __name__ == "__main__":
			main()


"""simple docstring"""
import unittest

from transformers import is_torch_available, load_tool

from .test_tools_common import ToolTesterMixin


if is_torch_available():
			import torch
class      lowerCAmelCase_						(							unittest.TestCase							,							A__				):



							'''simple docstring'''





							def  A__		(				self							)   ->       Any:
													__lowerCAmelCase        =       load_tool("""speech-to-text"""							)
													self.tool.setup()




							def  A__		(				self							)   ->       int:
													__lowerCAmelCase        =       self.tool(torch.ones(3_000							)							)
													self.assertEqual(snake_case_  ,							""" you"""							)




							def  A__		(				self							)   ->       Optional[int]:
													__lowerCAmelCase        =       self.tool(audio=torch.ones(3_000							)							)
													self.assertEqual(snake_case_  ,							""" you"""							)
