






'''simple docstring'''







from math import sqrt


def 			__UpperCamelCase				(			lowercase_					:     int      ):
       """simple docstring"""




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


def 			__UpperCamelCase				(			lowercase_					:     int      ):
       """simple docstring"""




       return sum(factors(_SCREAMING_SNAKE_CASE      )      ) > n


def 			__UpperCamelCase				(			lowercase_					:     int      ):
       """simple docstring"""




       a_	    = factors(_SCREAMING_SNAKE_CASE      )
       a_	    = len(_SCREAMING_SNAKE_CASE      )
       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 			__UpperCamelCase				(			lowercase_					:     int      ):
       """simple docstring"""




       return abundant(_SCREAMING_SNAKE_CASE      ) and not semi_perfect(_SCREAMING_SNAKE_CASE      )


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 			__UpperCamelCase				(			lowercase_					:     int      ):
       """simple docstring"""




       def docstring_decorator(lowercase_					:     int      ):
              a_	    = fn.__doc__
              a_	    = func_doc.split('\n'      )
              a_	    = 0
              while i < len(lowercase_      ) and re.search(R'^\s*Examples?:\s*$'      ,					lines[i]      ) is None:
                     i += 1
              if i < len(lowercase_      ):
                     a_	    = example_docstring
                     a_	    = '\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}'      )
              a_	    = func_doc
              return fn

       return docstring_decorator




