


def 			UpperCamelCase			(					_a = 1_0_0_0						)    ->							int:
     '''simple docstring'''





     lowercase_				:List[Any]       			=				0
     lowercase_				:List[str]       			=				(n - 1) // 3
     total += ((terms) * (6 + (terms - 1) * 3)) // 2  # total of an A.P.
     lowercase_				:Dict       			=				(n - 1) // 5
     total += ((terms) * (1_0 + (terms - 1) * 5)) // 2
     lowercase_				:int       			=				(n - 1) // 1_5
     total -= ((terms) * (3_0 + (terms - 1) * 1_5)) // 2
     return total


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









from dataclasses import dataclass
from typing import Callable, Optional

import datasets




@dataclass
class 							a_ (						datasets.BuilderConfig		):


							'''simple docstring'''






							__a:	Optional[Callable]     =    None
							__a:	Optional[dict]     =    None
							__a:	Optional[datasets.Features]     =    None

							def      _lowercase       (		self   )					->					Optional[int]:
														'''simple docstring'''

														assert self.generator is not None, "generator must be specified"

														if self.gen_kwargs is None:
																					lowerCAmelCase_										=     {}




class 							a_ (						datasets.GeneratorBasedBuilder		):


							'''simple docstring'''






							__a:	Optional[Any]     =    GeneratorConfig

							def      _lowercase       (		self   )					->					Union[str, Any]:
														'''simple docstring'''

														return datasets.DatasetInfo(features=self.config.features   )

							def      _lowercase       (		self			,			lowercase_   )					->					Dict:
														'''simple docstring'''

														return [datasets.SplitGenerator(name=datasets.Split.TRAIN			,			gen_kwargs=self.config.gen_kwargs   )]






							def      _lowercase       (		self			,			**lowercase_   )					->					Union[str, Any]:
														'''simple docstring'''

														for idx, ex in enumerate(self.config.generator(**lowercase_   )   ):
																					yield idx, ex



