



def   _lowerCAmelCase   (						A__	):
      lowercase__     =  hex_num.strip()
      if not hex_num:
            raise ValueError('No value was passed to the function'	)

      lowercase__     =  hex_num[0] == '-'
      if is_negative:
            lowercase__     =  hex_num[1:]

      try:
            lowercase__     =  int(A__						,  16	)
      except ValueError:
            raise ValueError('Invalid value was passed to the function'	)

      lowercase__     =  ''
      while int_num > 0:
            lowercase__     =  str(int_num % 2	) + bin_str
            int_num >>= 1

      return int(('-' + bin_str) if is_negative else bin_str	)


if __name__ == "__main__":
       import doctest

       doctest.testmod()





from maths.is_square_free import is_square_free
from maths.prime_factors import prime_factors

def   _lowerCAmelCase   (						A__	):
      lowercase__     =  prime_factors(A__	)
      if is_square_free(A__	):
            return -1 if len(A__	) % 2 else 1
      return 0


if __name__ == "__main__":
       import doctest

       doctest.testmod()
