




'''simple docstring'''







def 						snake_case_							(_a	:							Optional[int]=2_8_1_2_3     ):
    UpperCAmelCase			       =		[1] * (limit + 1)

    for i in range(2    ,   int(limit**0.5     ) + 1     ):
        sum_divs[i * i] += i
        for k in range(i + 1    ,   limit // i + 1     ):
            sum_divs[k * i] += k + i

    UpperCAmelCase			       =		set()
    UpperCAmelCase			       =		0

    for n in range(1    ,   limit + 1     ):
        if sum_divs[n] > n:
            abundants.add(_a     )

        if not any((n - a in abundants) for a in abundants     ):
            res += n

    return res


if __name__ == "__main__":
   print(solution())










'''simple docstring'''







import math
from typing import Optional

import numpy as np

from ...configuration_utils import PretrainedConfig
from ...utils import logging


A     =logging.get_logger(__name__)

A     ={
    'facebook/encodec_24khz': 'https://huggingface.co/facebook/encodec_24khz/resolve/main/config.json',
    'facebook/encodec_48khz': 'https://huggingface.co/facebook/encodec_48khz/resolve/main/config.json',
}


class 			_a  (	__a ):
       __a				:     Union[str, Any]   				=					"""encodec"""
       def __init__(	self						:	Tuple   ,				lowercase						:	List[str]=[1.5, 3.0, 6.0, 12.0, 24.0]   ,				lowercase						:	Any=24_000   ,				lowercase						:	str=1   ,				lowercase						:	Optional[int]=False   ,				lowercase						:	Optional[Any]=None   ,				lowercase						:	str=None   ,				lowercase						:	Tuple=128   ,				lowercase						:	Union[str, Any]=32   ,				lowercase						:	Union[str, Any]=1   ,				lowercase						:	Optional[Any]=[8, 5, 4, 2]   ,				lowercase						:	Any="weight_norm"   ,				lowercase						:	Tuple=7   ,				lowercase						:	int=7   ,				lowercase						:	Dict=3   ,				lowercase						:	List[Any]=2   ,				lowercase						:	str=True   ,				lowercase						:	List[str]="reflect"   ,				lowercase						:	List[Any]=2   ,				lowercase						:	Optional[Any]=2   ,				lowercase						:	int=1.0   ,				lowercase						:	Dict=1_024   ,				lowercase						:	str=None   ,				lowercase						:	Union[str, Any]=True   ,				**lowercase						:	Optional[int]   ,				):



           '''simple docstring'''

           UpperCAmelCase			       =		target_bandwidths
           UpperCAmelCase			       =		sampling_rate
           UpperCAmelCase			       =		audio_channels
           UpperCAmelCase			       =		normalize
           UpperCAmelCase			       =		chunk_length_s
           UpperCAmelCase			       =		overlap
           UpperCAmelCase			       =		hidden_size
           UpperCAmelCase			       =		num_filters
           UpperCAmelCase			       =		num_residual_layers
           UpperCAmelCase			       =		upsampling_ratios
           UpperCAmelCase			       =		norm_type
           UpperCAmelCase			       =		kernel_size
           UpperCAmelCase			       =		last_kernel_size
           UpperCAmelCase			       =		residual_kernel_size
           UpperCAmelCase			       =		dilation_growth_rate
           UpperCAmelCase			       =		use_causal_conv
           UpperCAmelCase			       =		pad_mode
           UpperCAmelCase			       =		compress
           UpperCAmelCase			       =		num_lstm_layers
           UpperCAmelCase			       =		trim_right_ratio
           UpperCAmelCase			       =		codebook_size
           UpperCAmelCase			       =		codebook_dim if codebook_dim is not None else hidden_size
           UpperCAmelCase			       =		use_conv_shortcut

           if self.norm_type not in ["weight_norm", "time_group_norm"]:
               raise ValueError(
                   f"self.norm_type must be one of `\"weight_norm\"`, `\"time_group_norm\"`), got {self.norm_type}"				)

           super().__init__(**lowercase				)
       @property
       def     A      (	self						:	Dict				):



           '''simple docstring'''

           if self.chunk_length_s is None:
               return None
           else:
               return int(self.chunk_length_s * self.sampling_rate				)
       @property
       def     A      (	self						:	Union[str, Any]				):



           '''simple docstring'''

           if self.chunk_length_s is None or self.overlap is None:
               return None
           else:
               return max(1   ,				int((1.0 - self.overlap) * self.chunk_length				)				)
       @property
       def     A      (	self						:	Any				):



           '''simple docstring'''

           UpperCAmelCase			       =		np.prod(self.upsampling_ratios				)
           return math.ceil(self.sampling_rate / hop_length				)







       @property
       def     A      (	self						:	Optional[int]				):



           '''simple docstring'''

           return int(1_000 * self.target_bandwidths[-1] // (self.frame_rate * 10)				)




