




from maths.prime_factors import prime_factors







def 	_a      (						SCREAMING_SNAKE_CASE_							:				int     ):
					if not isinstance(_UpperCAmelCase      ,      _UpperCAmelCase     ):
										__lowerCAmelCase				   =       F"""Input value of [number={number}] must be an integer"""
										raise TypeError(_UpperCAmelCase     )
					if number < 1:
										raise ValueError("Input must be a positive integer"     )
					return -1 if len(prime_factors(_UpperCAmelCase     )     ) % 2 else 1


if __name__ == "__main__":
					import doctest

					doctest.testmod()








'''simple docstring'''







from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


A__:    str					    =       {}

try:
   if not is_sentencepiece_available():
      raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
   pass
else:
   A__:    Tuple					    =       ['''GPTSw3Tokenizer''']


if TYPE_CHECKING:
   try:
      if not is_sentencepiece_available():
         raise OptionalDependencyNotAvailable()
   except OptionalDependencyNotAvailable:
      pass
   else:
      from .tokenization_gpt_swa import GPTSwaTokenizer

else:
   import sys

   A__:    str					    =       _LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)


