
from math import sqrt

def a__   (	A_ ):






  '''simple docstring'''





  __magic_name__    					=	[1]
  for i in range(2,					int(sqrt(__UpperCamelCase ) ) + 1,					1 ):
    if number % i == 0:
      values.append(__UpperCamelCase )
      if int(number // i ) != i:
        values.append(int(number // i ) )
  return sorted(__UpperCamelCase )

def a__   (	A_ ):






  '''simple docstring'''





  return sum(factors(__UpperCamelCase ) ) > n

def a__   (	A_ ):






  '''simple docstring'''





  __magic_name__    					=	factors(__UpperCamelCase )
  __magic_name__    					=	len(__UpperCamelCase )
  __magic_name__    					=	[[0 for i in range(number + 1 )] for j in range(r + 1 )]
  for i in range(r + 1 ):
    __magic_name__    					=	True

  for i in range(1,					number + 1 ):
    __magic_name__    					=	False

  for i in range(1,					r + 1 ):
    for j in range(1,					number + 1 ):
      if j < values[i - 1]:
        __magic_name__    					=	subset[i - 1][j]
      else:
        __magic_name__    					=	subset[i - 1][j] or subset[i - 1][j - values[i - 1]]

  return subset[r][number] != 0

def a__   (	A_ ):






  '''simple docstring'''





  return abundant(__UpperCamelCase ) and not semi_perfect(__UpperCamelCase )


if __name__ == "__main__":
    import doctest

    doctest.testmod(verbose=True)
    for number in (69, 70, 71):
        print(F'''{number} is {"" if weird(number) else "not "}weird.''')



def a__   (	A_ ):






  '''simple docstring'''





  __magic_name__    					=	str(A_ ).strip()
  if not bin_string:
    raise ValueError("""Empty string was passed to the function""" )
  __magic_name__    					=	bin_string[0] == """-"""
  if is_negative:
    __magic_name__    					=	bin_string[1:]
  if not all(char in """01""" for char in bin_string ):
    raise ValueError("""Non-binary value was passed to the function""" )
  __magic_name__    					=	0
  for char in bin_string:
    __magic_name__    					=	2 * decimal_number + int(A_ )
  return -decimal_number if is_negative else decimal_number


if __name__ == "__main__":
    from doctest import testmod

    testmod()

