
from maths.prime_factors import prime_factors



def      __lowerCAmelCase						(							UpperCAmelCase__				:      int       )  ->    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()







from ..utils import DummyObject, requires_backends





class       __A(				metaclass=UpperCAmelCase       ):
					SCREAMING_SNAKE_CASE			    =    ['''torch''', '''scipy''']

					def __init__(	self					:     Any   ,					*__UpperCamelCase					:     str   ,					**__UpperCamelCase					:     Any   ):
												requires_backends(self   ,					["""torch""", """scipy"""]   )

					@classmethod
					def    lowercase__      (	cls					:     Dict   ,					*__UpperCamelCase					:     str   ,					**__UpperCamelCase					:     Dict   ):
												requires_backends(cls   ,					["""torch""", """scipy"""]   )



					@classmethod
					def    lowercase__      (	cls					:     str   ,					*__UpperCamelCase					:     Optional[int]   ,					**__UpperCamelCase					:     Optional[int]   ):
												requires_backends(cls   ,					["""torch""", """scipy"""]   )





