


import warnings

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


SCREAMING_SNAKE_CASE			: Tuple				   =					logging.get_logger(__name__)






class _lowerCamelCase(		_a  ):
       def __init__(   self, lowerCamelCase=None, **lowerCamelCase)			->  Dict:




           """simple docstring"""

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






from maths.prime_factors import prime_factors



def 							UpperCamelCase_( lowerCamelCase_					)       ->		int:
    if not isinstance(lowerCamelCase_				,					lowerCamelCase_					):
        _lowercase			:				str 						=						F'''Input value of [number={number}] must be an integer'''
        raise TypeError(lowerCamelCase_					)
    if number < 1:
        raise ValueError('Input must be a positive integer'					)
    return -1 if len(prime_factors(lowerCamelCase_					)					) % 2 else 1


if __name__ == "__main__":
 import doctest

 doctest.testmod()


