
'''simple docstring'''



import warnings

from ...utils import logging
from .image_processing_dpt import DPTImageProcessor


_SCREAMING_SNAKE_CASE   =      logging.get_logger(__name__)






class 							__lowercase    ( __lowercase  ):







	'''simple docstring'''

	def __init__(self       ,*_lowerCamelCase       ,**_lowerCamelCase	)							->							None:







				'''simple docstring'''





				warnings.warn(
				    '''The class DPTFeatureExtractor is deprecated and will be removed in version 5 of Transformers. Please'''
				    ''' use DPTImageProcessor instead.'''       ,UpperCAmelCase__       ,)
				super().__init__(*UpperCAmelCase__       ,**UpperCAmelCase__	)












'''simple docstring'''



from math import sqrt




def 				_lowerCAmelCase  (			lowerCamelCase_     :					int			):
			__lowercase			  =							0
			for i in range(1						,    int(sqrt(lowerCamelCase_			) + 1			)			):
						if n % i == 0 and i != sqrt(lowerCamelCase_			):
									total += i + n // i
						elif i == sqrt(lowerCamelCase_			):
									total += i
			return total - n




def 				_lowerCAmelCase  (			lowerCamelCase_     :					int = 1_0_0_0_0			):
			__lowercase			  =							sum(
			    i
			    for i in range(1						,    lowerCamelCase_			)
			    if sum_of_divisors(sum_of_divisors(lowerCamelCase_			)			) == i and sum_of_divisors(lowerCamelCase_			) != i			)
			return total


if __name__ == "__main__":
	print(solution(int(str(input()).strip())))





