






"""simple docstring"""
def        lowerCamelCase_  (						_lowerCamelCase			,   _lowerCamelCase				):



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

 lowerCamelCase__     :			List[Any]     				=						max(len(str(__lowerCAmelCase				)				)			,   len(str(__lowerCAmelCase				)				)				)
 lowerCamelCase__     :			str     				=						ma // 2

 lowerCamelCase__				,     lowerCamelCase__     :			Union[str, Any]     				=						divmod(__lowerCAmelCase			,   10**ma				)
 lowerCamelCase__				,     lowerCamelCase__     :			Any     				=						divmod(__lowerCAmelCase			,   10**ma				)

 lowerCamelCase__     :			int     				=						karatsuba(__lowerCAmelCase			,   __lowerCAmelCase				)
 lowerCamelCase__     :			Union[str, Any]     				=						karatsuba((aa + aa)			,   (ba + ba)				)
 lowerCamelCase__     :			List[str]     				=						karatsuba(__lowerCAmelCase			,   __lowerCAmelCase				)

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






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


if __name__ == "__main__":
      main()


"""simple docstring"""


import abc
import copy
import dataclasses
from dataclasses import dataclass
from typing import ClassVar, Dict, Type, TypeVar

from ..features import Features


a							=TypeVar('T', bound='TaskTemplate')






@dataclass(frozen=__lowerCAmelCase	)
class    __UpperCAmelCase						(	abc.ABC	):
				# `task` is not a ClassVar since we want it to be part of the `asdict` output for JSON serialization
				A__      :   str
				A__      :   ClassVar[Features]
				A__      :   ClassVar[Features]

				def 		_a	(      self	, _lowerCamelCase      ):
										return copy.deepcopy(self      )

				@property
				def 		_a	(      self      ):
										return Features(**self.input_schema	, **self.label_schema      )

				@property
				@abc.abstractmethod
				def 		_a	(      self      ):
										raise NotImplementedError






				@classmethod
				def 		_a	(      cls	, _lowerCamelCase      ):
										lowerCamelCase__					={f.name for f in dataclasses.fields(cls      )}
										return cls(**{k: v for k, v in template_dict.items() if k in field_names}      )


