
"""simple docstring"""

def 							A		(       snake_case   :Any	)   ->			str:
 __UpperCamelCase       						= 1
 __UpperCamelCase       						= 2
 while i * i <= n:
  __UpperCamelCase       						= 0
  while n % i == 0:
   n //= i
   multiplicity += 1
  n_divisors *= multiplicity + 1
  i += 1
 if n > 1:
  n_divisors *= 2
 return n_divisors






def 							A		(       )   ->			int:
 __UpperCamelCase       						= 1
 __UpperCamelCase       						= 1

 while True:
  i += 1
  t_num += i

  if count_divisors(snake_case	) > 5_0_0:
   break

 return t_num


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





"""simple docstring"""

from ...configuration_utils import PretrainedConfig
from ...utils import logging
from ...utils.backbone_utils import BackboneConfigMixin, get_aligned_output_features_output_indices


UpperCamelCase			:       int									=				logging.get_logger(__name__)

UpperCamelCase			:       int									=				{
    "google/bit-50": "https://huggingface.co/google/bit-50/resolve/main/config.json",
}

class __lowerCAmelCase	(   __SCREAMING_SNAKE_CASE    ,						__SCREAMING_SNAKE_CASE    ):
     lowercase		     =		"bit"
     lowercase		     =		["preactivation", "bottleneck"]
     lowercase		     =		["SAME", "VALID"]





     def __init__(			self			,  __UpperCAmelCase=3			,  __UpperCAmelCase=64			,  __UpperCAmelCase=[256, 512, 1024, 2048]			,  __UpperCAmelCase=[3, 4, 6, 3]			,  __UpperCAmelCase="preactivation"			,  __UpperCAmelCase="relu"			,  __UpperCAmelCase=None			,  __UpperCAmelCase=32			,  __UpperCAmelCase=0.0			,  __UpperCAmelCase=False			,  __UpperCAmelCase=32			,  __UpperCAmelCase=1			,  __UpperCAmelCase=None			,  __UpperCAmelCase=None			,  **__UpperCAmelCase			,  ):

      '''simple docstring'''




      super().__init__(**__UpperCAmelCase   )
      if layer_type not in self.layer_types:
       raise ValueError(F'layer_type={layer_type} is not one of {",".join(self.layer_types   )}'   )
      if global_padding is not None:
       if global_padding.upper() in self.supported_padding:
        __UpperCamelCase       						= global_padding.upper()
       else:
        raise ValueError(F'Padding strategy {global_padding} not supported'   )
      __UpperCamelCase       						= num_channels
      __UpperCamelCase       						= embedding_size
      __UpperCamelCase       						= hidden_sizes
      __UpperCamelCase       						= depths
      __UpperCamelCase       						= layer_type
      __UpperCamelCase       						= hidden_act
      __UpperCamelCase       						= global_padding
      __UpperCamelCase       						= num_groups
      __UpperCamelCase       						= drop_path_rate
      __UpperCamelCase       						= embedding_dynamic_padding
      __UpperCamelCase       						= output_stride
      __UpperCamelCase       						= width_factor

      __UpperCamelCase       						= ['stem'] + [F'stage{idx}' for idx in range(1			,  len(__UpperCAmelCase   ) + 1   )]
      __UpperCamelCase						,			__UpperCamelCase       						= get_aligned_output_features_output_indices(
          out_features=__UpperCAmelCase			,  out_indices=__UpperCAmelCase			,  stage_names=self.stage_names   )



