"""simple docstring"""





def     a_					(				_lowerCAmelCase  :			Tuple       ,			_lowerCAmelCase  :			int					):





       '''simple docstring'''

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

       lowercase__      :		Any          =     max(len(str(_lowerCAmelCase					)					)       ,			len(str(_lowerCAmelCase					)					)					)
       lowercase__      :		Optional[int]          =     ma // 2

       lowercase__   ,				lowercase__      :		str          =     divmod(_lowerCAmelCase       ,			10**ma					)
       lowercase__   ,				lowercase__      :		Dict          =     divmod(_lowerCAmelCase       ,			10**ma					)

       lowercase__      :		Union[str, Any]          =     karatsuba(_lowerCAmelCase       ,			_lowerCAmelCase					)
       lowercase__      :		List[Any]          =     karatsuba((aa + aa)       ,			(ba + ba)					)
       lowercase__      :		List[str]          =     karatsuba(_lowerCAmelCase       ,			_lowerCAmelCase					)

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





def     a_					(				):





       '''simple docstring'''

       print(karatsuba(1_5463       ,			2_3489					)					)


if __name__ == "__main__":
       main()


"""simple docstring"""





from typing import TYPE_CHECKING

from ....utils import OptionalDependencyNotAvailable, _LazyModule, is_tokenizers_available, is_torch_available


_UpperCamelCase       :						int     =   {
    "configuration_retribert": ["RETRIBERT_PRETRAINED_CONFIG_ARCHIVE_MAP", "RetriBertConfig"],
    "tokenization_retribert": ["RetriBertTokenizer"],
}

try:
       if not is_tokenizers_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       _UpperCamelCase       :						Tuple     =   ["RetriBertTokenizerFast"]

try:
       if not is_torch_available():
              raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
       pass
else:
       _UpperCamelCase       :						int     =   [
           "RETRIBERT_PRETRAINED_MODEL_ARCHIVE_LIST",
           "RetriBertModel",
           "RetriBertPreTrainedModel",
       ]


if TYPE_CHECKING:
       from .configuration_retribert import RETRIBERT_PRETRAINED_CONFIG_ARCHIVE_MAP, RetriBertConfig
       from .tokenization_retribert import RetriBertTokenizer

       try:
              if not is_tokenizers_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .tokenization_retribert_fast import RetriBertTokenizerFast

       try:
              if not is_torch_available():
                     raise OptionalDependencyNotAvailable()
       except OptionalDependencyNotAvailable:
              pass
       else:
              from .modeling_retribert import (
                  RETRIBERT_PRETRAINED_MODEL_ARCHIVE_LIST,
                  RetriBertModel,
                  RetriBertPreTrainedModel,
              )

else:
       import sys

       _UpperCamelCase       :						Tuple     =   _LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)

