'''simple docstring'''

def 							UpperCamelCase__			(			a__      ):


						'''simple docstring'''






						if divisor % 5 == 0 or divisor % 2 == 0:
												return 0
						_lowerCAmelCase										=1
						_lowerCAmelCase										=1
						while repunit:
												_lowerCAmelCase										=(1_0 * repunit + 1) % divisor
												repunit_index += 1
						return repunit_index



def 							UpperCamelCase__			(			a__ = 1_0_0_0_0_0_0      ):


						'''simple docstring'''






						_lowerCAmelCase										=limit - 1
						if divisor % 2 == 0:
												divisor += 1
						while least_divisible_repunit(a__      ) <= limit:
												divisor += 2
						return divisor


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






'''simple docstring'''

from collections import OrderedDict
from typing import Mapping

from ...configuration_utils import PretrainedConfig
from ...onnx import OnnxConfig
from ...utils import logging


lowercase_     		= logging.get_logger(__name__)

lowercase_     		= {
    '''facebook/data2vec-text-base''': '''https://huggingface.co/data2vec/resolve/main/config.json''',
}
class   SCREAMING_SNAKE_CASE			(						__lowercase):







		"""simple docstring"""
		lowercase   :      List[str]       =							'data2vec-text'






		def __init__(   self		,						__A=3_0522		,						__A=768		,						__A=12		,						__A=12		,						__A=3072		,						__A="gelu"		,						__A=0.1		,						__A=0.1		,						__A=512		,						__A=2		,						__A=0.02		,						__A=1E-12		,						__A=1		,						__A=0		,						__A=2		,						__A="absolute"		,						__A=True		,						__A=None		,						**__A		,						) ->     List[Any]:
								super().__init__(pad_token_id=__A		,						bos_token_id=__A		,						eos_token_id=__A		,						**__A				)

								_lowerCAmelCase										=vocab_size
								_lowerCAmelCase										=hidden_size
								_lowerCAmelCase										=num_hidden_layers
								_lowerCAmelCase										=num_attention_heads
								_lowerCAmelCase										=hidden_act
								_lowerCAmelCase										=intermediate_size
								_lowerCAmelCase										=hidden_dropout_prob
								_lowerCAmelCase										=attention_probs_dropout_prob
								_lowerCAmelCase										=max_position_embeddings
								_lowerCAmelCase										=type_vocab_size
								_lowerCAmelCase										=initializer_range
								_lowerCAmelCase										=layer_norm_eps
								_lowerCAmelCase										=position_embedding_type
								_lowerCAmelCase										=use_cache
								_lowerCAmelCase										=classifier_dropout

class   SCREAMING_SNAKE_CASE			(						__lowercase):







		"""simple docstring"""






		@property
		def 		UpperCamelCase__       (   self				) ->     Mapping[str, Mapping[int, str]]:
								if self.task == "multiple-choice":
														_lowerCAmelCase										={0: 'batch', 1: 'choice', 2: 'sequence'}
								else:
														_lowerCAmelCase										={0: 'batch', 1: 'sequence'}
								return OrderedDict(
								    [
								        ('input_ids', dynamic_axis),
								        ('attention_mask', dynamic_axis),
								    ]				)





