


def 	SCREAMING_SNAKE_CASE_						(      __A			:      str  ,   __A			:      list[str]    )     ->		str:

       """simple docstring"""

       a_ :		Union[str, Any]							=  ''
       for word_or_phrase in separated:
              if not isinstance(__A  ,   __A    ):
                     raise Exception('join() accepts only strings to be joined'    )
              joined += word_or_phrase + separator
       return joined.strip(__A    )


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

   testmod()






def 	SCREAMING_SNAKE_CASE_						(      __A			:      int    )     ->		int:

       """simple docstring"""

       if not isinstance(__A  ,   __A    ):
              raise ValueError('Input must be an integer'    )
       if input_num <= 0:
              raise ValueError('Input must be positive'    )
       return sum(
           divisor for divisor in range(1  ,   input_num // 2 + 1    ) if input_num % divisor == 0    )


if __name__ == "__main__":
   import doctest

   doctest.testmod()


