


"""simple docstring"""



from __future__ import annotations







def   __lowerCAmelCase						(						lowercase  :  list						,							lowercase  :  int | None = None						,							lowercase  :  int | None = None			)     ->						None:


    """simple docstring"""





    if start is None:
        snake_case   :				List[str]				 =   0

    if end is None:
        snake_case   :				str				 =   len(lowercase			) - 1

    if start >= end:
        return

    snake_case   :				List[str]				 =   (start + end) // 2

    slowsort(lowercase						,							lowercase						,							lowercase			)
    slowsort(lowercase						,							mid + 1						,							lowercase			)

    if sequence[end] < sequence[mid]:
        snake_case ,snake_case   :				Dict				 =   sequence[mid], sequence[end]

    slowsort(lowercase						,							lowercase						,							end - 1			)


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

  testmod()









"""simple docstring"""



def   __lowerCAmelCase						(						lowercase  :  int			)     ->						int:


    """simple docstring"""





    if not isinstance(lowercase						,							lowercase			):
        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()





