



from math import sqrt

def       A_   (						__a  :					int		):

				"""simple docstring"""
				a__					   =		[1]
				for i in range(2			,		int(sqrt(_lowercase		)		) + 1			,		1		):
								if number % i == 0:
												values.append(_lowercase		)
												if int(number // i		) != i:
																values.append(int(number // i		)		)
				return sorted(_lowercase		)

def       A_   (						__a  :					int		):

				"""simple docstring"""
				return sum(factors(_lowercase		)		) > n

def       A_   (						__a  :					int		):

				"""simple docstring"""
				a__					   =		factors(_lowercase		)
				a__					   =		len(_lowercase		)
				a__					   =		[[0 for i in range(number + 1		)] for j in range(r + 1		)]
				for i in range(r + 1		):
								a__					   =		True

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

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

				return subset[r][number] != 0

def       A_   (						__a  :					int		):

				"""simple docstring"""
				return abundant(_lowercase		) and not semi_perfect(_lowercase		)


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.""")





'''simple docstring'''



import re




def       _a      (		_lowercase   :      List[Any]    ):





     '''simple docstring'''






     def docstring_decorator(_lowercase   :      str    ):
          __UpperCAmelCase      :					Tuple    				=     fn.__doc__
          __UpperCAmelCase      :					Tuple    				=     func_doc.split('''\n'''    )
          __UpperCAmelCase      :					Optional[Any]    				=     0
          while i < len(_lowercase    ) and re.search(R'''^\s*Examples?:\s*$'''     ,   lines[i]    ) is None:
               i += 1
          if i < len(_lowercase    ):
               __UpperCAmelCase      :					Optional[int]    				=     example_docstring
               __UpperCAmelCase      :					Tuple    				=     '''\n'''.join(_lowercase    )
          else:
               raise ValueError(
                   F'The function {fn} should have an empty \'Examples:\' in its docstring as placeholder, '
                   F'current docstring is:\n{func_doc}'    )
          __UpperCAmelCase      :					Tuple    				=     func_doc
          return fn

     return docstring_decorator