


"""simple docstring"""





import warnings

from ..trainer import Trainer
from ..utils import logging


snake_case__						:   Union[str, Any]			 = logging.get_logger(__name__)



class 						snake_case_(				_a	):






     def __init__(		self     :    str    , UpperCamelCase_     :    Union[str, Any]=None    , **UpperCamelCase_     :    Union[str, Any] ):
           warnings.warn(
               '''`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` '''
               '''instead.'''    , __UpperCAmelCase    , )
           super().__init__(args=__UpperCAmelCase    , **__UpperCAmelCase )






"""simple docstring"""







from itertools import permutations


def      lowercase			(				A_       )->      bool:
  '''simple docstring'''







  if num[3] % 2 != 0:
    return False

  if (num[2] + num[3] + num[4]) % 3 != 0:
    return False

  if num[5] % 5 != 0:
    return False

  a						:		Optional[int]      							=			[7, 11, 13, 17]
  for i, test in enumerate(A_       ):
    if (num[i + 4] * 100 + num[i + 5] * 10 + num[i + 6]) % test != 0:
      return False
  return True


def      lowercase			(				A_ = 10       )->      int:
  '''simple docstring'''







  return sum(
      int("".join(map(A_  ,   A_       )       )       )
      for num in permutations(range(A_       )       )
      if is_substring_divisible(A_       )       )


if __name__ == "__main__":
 print(f'''{solution() = }''')






