






def      a_ (      _A  )			->			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()












from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_sentencepiece_available


__UpperCamelCase					:		str	  =						{}

try:
							if not is_sentencepiece_available():
														raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
							pass
else:
							__UpperCamelCase					:		Dict	  =						["""BartphoTokenizer"""]

if TYPE_CHECKING:
							try:
														if not is_sentencepiece_available():
																					raise OptionalDependencyNotAvailable()
							except OptionalDependencyNotAvailable:
														pass
							else:
														from .tokenization_bartpho import BartphoTokenizer

else:
							import sys

							__UpperCamelCase					:		Any	  =						_LazyModule(__name__, globals()["""__file__"""], _import_structure, module_spec=__spec__)




