def __UpperCamelCase(   _A					:				int = 10_00    ):
   '''simple docstring'''
   return sum(e for e in range(3  ,			_A    ) if e % 3 == 0 or e % 5 == 0    )


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





'''simple docstring'''

import json
import os
from typing import Optional, Tuple

from ...tokenization_utils import PreTrainedTokenizer
from ...utils import logging


UpperCamelCase__     :	int				=			logging.get_logger(__name__)

UpperCamelCase__     :	Optional[Any]				=			{'vocab_file': 'vocab.json'}

UpperCamelCase__     :	Tuple				=			{
    'vocab_file': {
        'mgp-str': 'https://huggingface.co/alibaba-damo/mgp-str-base/blob/main/vocab.json',
    }
}

UpperCamelCase__     :	List[Any]				=			{'mgp-str': 27}


class 				_lowercase	(      lowerCAmelCase   ):
      '''simple docstring'''


      UpperCAmelCase_      :      Any      							=   VOCAB_FILES_NAMES
      UpperCAmelCase_      :      Dict      							=   PRETRAINED_VOCAB_FILES_MAP
      UpperCAmelCase_      :      int      							=   PRETRAINED_POSITIONAL_EMBEDDINGS_SIZES




      def __init__(				self					,lowerCamelCase_					,lowerCamelCase_="[GO]"					,lowerCamelCase_="[GO]"					,lowerCamelCase_="[s]"					,lowerCamelCase_="[GO]"					,**lowerCamelCase_							)			->			str:



         '''simple docstring'''



         super().__init__(
             unk_token=lowerCamelCase_					,bos_token=lowerCamelCase_					,eos_token=lowerCamelCase_					,pad_token=lowerCamelCase_					,**lowerCamelCase_					,)

         with open(lowerCamelCase_					,encoding='''utf-8'''							) as vocab_handle:
            UpperCAmelCase__							:				Optional[Any]   				=  json.load(lowerCamelCase_							)
         UpperCAmelCase__							:				Any   				=  {v: k for k, v in self.vocab.items()}




      @property
      def 		lowerCAmelCase__					(				self							)			->			Tuple:



         '''simple docstring'''



         return len(self.vocab							)




      def 		lowerCAmelCase__					(				self							)			->			Dict:



         '''simple docstring'''



         return dict(self.vocab					,**self.added_tokens_encoder							)




      def 		lowerCAmelCase__					(				self					,lowerCamelCase_							)			->			Any:



         '''simple docstring'''



         UpperCAmelCase__							:				List[Any]   				=  []
         for s in text:
            char_tokens.extend(lowerCamelCase_							)
         return char_tokens




      def 		lowerCAmelCase__					(				self					,lowerCamelCase_							)			->			str:



         '''simple docstring'''



         return self.vocab.get(lowerCamelCase_					,self.vocab.get(self.unk_token							)							)




      def 		lowerCAmelCase__					(				self					,lowerCamelCase_							)			->			Any:



         '''simple docstring'''



         return self.decoder.get(lowerCamelCase_							)




      def 		lowerCAmelCase__					(				self					,lowerCamelCase_					,lowerCamelCase_ = None							)			->			Tuple[str]:



         '''simple docstring'''



         if not os.path.isdir(lowerCamelCase_							):
            logger.error('''Vocabulary path ({}) should be a directory'''.format(lowerCamelCase_							)							)
            return
         UpperCAmelCase__							:				Union[str, Any]   				=  os.path.join(
             lowerCamelCase_					,(filename_prefix + '''-''' if filename_prefix else '''''') + VOCAB_FILES_NAMES['''vocab_file''']							)

         with open(lowerCamelCase_					,'''w'''					,encoding='''utf-8'''							) as f:
            f.write(json.dumps(self.vocab					,indent=2					,sort_keys=lowerCamelCase_					,ensure_ascii=lowerCamelCase_							) + '''\n'''							)

         return (vocab_file,)




