



"""simple docstring"""






def 	snake_case_  (				A_ :		int,    A_ :		int						):


       '''simple docstring'''





       return number | (1 << position)






def 	snake_case_  (				A_ :		int,    A_ :		int						):


       '''simple docstring'''





       return number & ~(1 << position)






def 	snake_case_  (				A_ :		int,    A_ :		int						):


       '''simple docstring'''





       return number ^ (1 << position)






def 	snake_case_  (				A_ :		int,    A_ :		int						):


       '''simple docstring'''





       return ((number >> position) & 1) == 1






def 	snake_case_  (				A_ :		int,    A_ :		int						):


       '''simple docstring'''





       return int((number & (1 << position)) != 0						)


if __name__ == "__main__":
   import doctest

   doctest.testmod()







"""simple docstring"""






from maths.prime_factors import prime_factors






def 	snake_case_  (				A_ :		int						):


       '''simple docstring'''





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


if __name__ == "__main__":
   import doctest

   doctest.testmod()


