
'''simple docstring'''
from collections import OrderedDict
from typing import Mapping

from packaging import version

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


__lowerCAmelCase												=	logging.get_logger(__name__)

__lowerCAmelCase												=	{
    'facebook/data2vec-vision-base-ft': (
        'https://huggingface.co/facebook/data2vec-vision-base-ft/resolve/main/config.json'
    ),
}


class       _lowerCAmelCase   (   __snake_case				):







							'''simple docstring'''

							lowerCAmelCase_ 						=						"data2vec-vision"

							def __init__(self  ,  UpperCAmelCase=768  ,  UpperCAmelCase=12  ,  UpperCAmelCase=12  ,  UpperCAmelCase=3072  ,  UpperCAmelCase="gelu"  ,  UpperCAmelCase=0.0  ,  UpperCAmelCase=0.0  ,  UpperCAmelCase=0.02  ,  UpperCAmelCase=1e-1_2  ,  UpperCAmelCase=224  ,  UpperCAmelCase=16  ,  UpperCAmelCase=3  ,  UpperCAmelCase=False  ,  UpperCAmelCase=False  ,  UpperCAmelCase=False  ,  UpperCAmelCase=False  ,  UpperCAmelCase=0.1  ,  UpperCAmelCase=0.1  ,  UpperCAmelCase=True  ,  UpperCAmelCase=[3, 5, 7, 11]  ,  UpperCAmelCase=[1, 2, 3, 6]  ,  UpperCAmelCase=True  ,  UpperCAmelCase=0.4  ,  UpperCAmelCase=256  ,  UpperCAmelCase=1  ,  UpperCAmelCase=False  ,  UpperCAmelCase=255  ,  **UpperCAmelCase  ,  )					->       Optional[Any]:
														super().__init__(**UpperCAmelCase  )

														_snake_case       =  hidden_size
														_snake_case       =  num_hidden_layers
														_snake_case       =  num_attention_heads
														_snake_case       =  intermediate_size
														_snake_case       =  hidden_act
														_snake_case       =  hidden_dropout_prob
														_snake_case       =  attention_probs_dropout_prob
														_snake_case       =  initializer_range
														_snake_case       =  layer_norm_eps

														_snake_case       =  image_size
														_snake_case       =  patch_size
														_snake_case       =  num_channels
														_snake_case       =  use_mask_token
														_snake_case       =  use_absolute_position_embeddings
														_snake_case       =  use_relative_position_bias
														_snake_case       =  use_shared_relative_position_bias
														_snake_case       =  layer_scale_init_value
														_snake_case       =  drop_path_rate
														_snake_case       =  use_mean_pooling
														# decode head attributes (semantic segmentation)
														_snake_case       =  out_indices
														_snake_case       =  pool_scales
														# auxiliary head attributes (semantic segmentation)
														_snake_case       =  use_auxiliary_head
														_snake_case       =  auxiliary_loss_weight
														_snake_case       =  auxiliary_channels
														_snake_case       =  auxiliary_num_convs
														_snake_case       =  auxiliary_concat_input
														_snake_case       =  semantic_loss_ignore_index


class       _lowerCAmelCase   (   __snake_case				):







							'''simple docstring'''

							lowerCAmelCase_ 						=						version.parse("1.11"				)

							@property
							def 	lowercase							(self  )					->       Mapping[str, Mapping[int, str]]:
														return OrderedDict(
														    [
														        ("""pixel_values""", {0: """batch""", 1: """num_channels""", 2: """height""", 3: """width"""}),
														    ]  )





							@property
							def 	lowercase							(self  )					->       float:
														return 1e-4

'''simple docstring'''
from math import sqrt






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






def  __SCREAMING_SNAKE_CASE				(  _SCREAMING_SNAKE_CASE = 1_0000				):
							_snake_case       =  sum(
							    i
							    for i in range(1							, _SCREAMING_SNAKE_CASE				)
							    if sum_of_divisors(sum_of_divisors(_SCREAMING_SNAKE_CASE				)				) == i and sum_of_divisors(_SCREAMING_SNAKE_CASE				) != i				)
							return total


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