

'''simple docstring'''
from typing import Optional

from .. import Features, NamedSplit
from ..packaged_modules.text.text import Text
from ..utils.typing import NestedDataStructureLike, PathLike
from .abc import AbstractDatasetReader
class 					_snake_case		(lowercase__):






			def __init__(  self			,_snake_case			,_snake_case = None			,_snake_case = None			,_snake_case = None			,_snake_case = False			,_snake_case = False			,_snake_case = None			,**_snake_case			,):
				super().__init__(
				    SCREAMING_SNAKE_CASE_			,split=SCREAMING_SNAKE_CASE_			,features=SCREAMING_SNAKE_CASE_			,cache_dir=SCREAMING_SNAKE_CASE_			,keep_in_memory=SCREAMING_SNAKE_CASE_			,streaming=SCREAMING_SNAKE_CASE_			,num_proc=SCREAMING_SNAKE_CASE_			,**SCREAMING_SNAKE_CASE_			,)
				UpperCAmelCase_     :      Optional[Any]						=  path_or_paths if isinstance(SCREAMING_SNAKE_CASE_			,SCREAMING_SNAKE_CASE_     ) else {self.split: path_or_paths}
				UpperCAmelCase_     :      str						=  Text(
				    cache_dir=SCREAMING_SNAKE_CASE_			,data_files=SCREAMING_SNAKE_CASE_			,features=SCREAMING_SNAKE_CASE_			,**SCREAMING_SNAKE_CASE_			,)






			def 		UpperCamelCase__							(  self     ):


				if self.streaming:
					UpperCAmelCase_     :      int						=  self.builder.as_streaming_dataset(split=self.split     )
				# Build regular (map-style) dataset
				else:
					UpperCAmelCase_     :      List[str]						=  None
					UpperCAmelCase_     :      List[Any]						=  None
					UpperCAmelCase_     :      List[str]						=  None
					UpperCAmelCase_     :      str						=  None

					self.builder.download_and_prepare(
					    download_config=SCREAMING_SNAKE_CASE_			,download_mode=SCREAMING_SNAKE_CASE_			,verification_mode=SCREAMING_SNAKE_CASE_			,base_path=SCREAMING_SNAKE_CASE_			,num_proc=self.num_proc			,)
					UpperCAmelCase_     :      int						=  self.builder.as_dataset(
					    split=self.split			,verification_mode=SCREAMING_SNAKE_CASE_			,in_memory=self.keep_in_memory     )
				return dataset






"""simple docstring"""






from itertools import count




def __magic_name__	(				_lowerCamelCase:		int = 50			)					->						int:

	'''simple docstring'''




	lowerCAmelCase												=  [1] * min_block_length

	for n in count(_lowerCamelCase			):
		fill_count_functions.append(1			)

		for block_length in range(_lowerCamelCase,					n + 1			):
			for block_start in range(n - block_length			):
				fill_count_functions[n] += fill_count_functions[
				    n - block_start - block_length - 1
				]

			fill_count_functions[n] += 1

		if fill_count_functions[n] > 1_000_000:
			break

	return n


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


