
"""simple docstring"""





from __future__ import annotations

from collections.abc import Generator
def 				A_  ():

					'''simple docstring'''





					A_								=    {}
					A_								=    2
					while True:
										A_								=    factor_map.pop(__a					, __a					)
										if factor:
															A_								=    factor + prime
															while x in factor_map:
																				x += factor
															A_								=    factor
										else:
															A_								=    prime
															yield prime
										prime += 1
def 				A_  (__a = 1e10					):

					'''simple docstring'''





					A_								=    sieve()

					A_								=    1
					while True:
										A_								=    next(__a					)
										if (2 * prime * n) > limit:
															return n
										# Ignore the next prime as the reminder will be 2.
										next(__a					)
										n += 2


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






"""simple docstring"""





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


UpperCamelCase_       :    List[str]						      =			{'''configuration_sew''': ['''SEW_PRETRAINED_CONFIG_ARCHIVE_MAP''', '''SEWConfig''']}

try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		UpperCamelCase_       :    Tuple						      =			[
		    '''SEW_PRETRAINED_MODEL_ARCHIVE_LIST''',
		    '''SEWForCTC''',
		    '''SEWForSequenceClassification''',
		    '''SEWModel''',
		    '''SEWPreTrainedModel''',
		]

if TYPE_CHECKING:
		from .configuration_sew import SEW_PRETRAINED_CONFIG_ARCHIVE_MAP, SEWConfig

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_sew import (
				    SEW_PRETRAINED_MODEL_ARCHIVE_LIST,
				    SEWForCTC,
				    SEWForSequenceClassification,
				    SEWModel,
				    SEWPreTrainedModel,
				)


else:
		import sys

		UpperCamelCase_       :    List[str]						      =			_LazyModule(__name__, globals()['''__file__'''], _import_structure, module_spec=__spec__)




