





"""simple docstring"""


import warnings

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


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







class       __a  (    _SCREAMING_SNAKE_CASE						):



     def __init__(			self   ,	a__=None   ,	**a__  ):
            warnings.warn(
                '`SageMakerTrainer` is deprecated and will be removed in v5 of Transformers. You can use `Trainer` '
                'instead.'   ,	_lowerCAmelCase   ,	)
            super().__init__(args=_lowerCAmelCase   ,	**_lowerCAmelCase  )












def    UpperCAmelCase_				( __UpperCAmelCase		:      int				)   ->					int:
      assert isinstance(__UpperCAmelCase     ,     __UpperCAmelCase				), f"The input value of [n={number}] is not an integer"

      if number == 1:
            return 2
      elif number < 1:
            SCREAMING_SNAKE_CASE_      		=     f"The input value of [n={number}] has to be > 0"
            raise ValueError(__UpperCAmelCase				)
      else:
            SCREAMING_SNAKE_CASE_      		=     sylvester(number - 1				)
            SCREAMING_SNAKE_CASE_      		=     num - 1
            SCREAMING_SNAKE_CASE_      		=     num
            return lower * upper + 1


if __name__ == "__main__":
   print(f'''The 8th number in Sylvester\'s sequence: {sylvester(8)}''')