

'''simple docstring'''
def  _A		(     snake_case = 50_00_00_00					)      ->     int:
   _lowercase      :				List[Any]      					=       set()
   _lowercase      :				Optional[int]      					=       int((limit - 24) ** (1 / 2)					)

   _lowercase      :				int      					=       set(range(3		,							prime_square_limit + 1		,							2					)					)
   primes.add(2					)
   for p in range(3		,							prime_square_limit + 1		,							2					):
      if p not in primes:
         continue
      primes.difference_update(set(range(p * p		,							prime_square_limit + 1		,							snake_case					)					)					)

   for primea in primes:
      _lowercase      :				Union[str, Any]      					=       primea * primea
      for primea in primes:
         _lowercase      :				List[Any]      					=       primea * primea * primea
         if square + cube >= limit - 16:
            break
         for primea in primes:
            _lowercase      :				Union[str, Any]      					=       primea * primea * primea * primea
            _lowercase      :				Tuple      					=       square + cube + tetr
            if total >= limit:
               break
            ret.add(snake_case					)

   return len(snake_case					)


if __name__ == "__main__":
    print(F'''{solution() = }''')









'''simple docstring'''
import logging

from transformers import PretrainedConfig


_snake_case         =  logging.getLogger(__name__)


_snake_case         =  {
    'bertabs-finetuned-cnndm': 'https://huggingface.co/remi/bertabs-finetuned-cnndm-extractive-abstractive-summarization/resolve/main/config.json',
}


class        a__  (							lowerCamelCase_  ):
   _SCREAMING_SNAKE_CASE   :					List[str]     	=							'bertabs'


   def __init__(			self      ,    _UpperCamelCase=30522      ,    _UpperCamelCase=512      ,    _UpperCamelCase=6      ,    _UpperCamelCase=512      ,    _UpperCamelCase=8      ,    _UpperCamelCase=512      ,    _UpperCamelCase=0.2      ,    _UpperCamelCase=6      ,    _UpperCamelCase=768      ,    _UpperCamelCase=8      ,    _UpperCamelCase=2048      ,    _UpperCamelCase=0.2      ,    **_UpperCamelCase      ,    ):





      """simple docstring"""





      super().__init__(**_UpperCamelCase  )

      _lowercase      :				List[str]      					=       vocab_size
      _lowercase      :				Tuple      					=       max_pos

      _lowercase      :				int      					=       enc_layers
      _lowercase      :				str      					=       enc_hidden_size
      _lowercase      :				Optional[Any]      					=       enc_heads
      _lowercase      :				Union[str, Any]      					=       enc_ff_size
      _lowercase      :				Tuple      					=       enc_dropout

      _lowercase      :				Dict      					=       dec_layers
      _lowercase      :				List[str]      					=       dec_hidden_size
      _lowercase      :				List[str]      					=       dec_heads
      _lowercase      :				str      					=       dec_ff_size
      _lowercase      :				str      					=       dec_dropout






