
def 							__A(lowerCAmelCase )		->				Optional[Any]:

		"""simple docstring"""






		_UpperCamelCase						    =	(1 + 2_4 * n) ** 0.5
		return ((1 + root) / 6) % 1 == 0


def 							__A(lowerCAmelCase = 5_0_0_0 )		->				List[Any]:

		"""simple docstring"""






		_UpperCamelCase						    =	[(i * (3 * i - 1)) // 2 for i in range(1						,  _A )]
		for i, pentagonal_i in enumerate(_A ):
				for j in range(_A						,  len(_A ) ):
						_UpperCamelCase						    =	pentagonal_nums[j]
						_UpperCamelCase						    =	pentagonal_i + pentagonal_j
						_UpperCamelCase						    =	pentagonal_j - pentagonal_i
						if is_pentagonal(_A ) and is_pentagonal(_A ):
								return b

		return -1


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





from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available, is_vision_available


lowerCamelCase__	=							{"configuration_yolos": ["YOLOS_PRETRAINED_CONFIG_ARCHIVE_MAP", "YolosConfig", "YolosOnnxConfig"]}

try:
		if not is_vision_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		lowerCamelCase__	=							["YolosFeatureExtractor"]
		lowerCamelCase__	=							["YolosImageProcessor"]

try:
		if not is_torch_available():
				raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
		pass
else:
		lowerCamelCase__	=							[
		    "YOLOS_PRETRAINED_MODEL_ARCHIVE_LIST",
		    "YolosForObjectDetection",
		    "YolosModel",
		    "YolosPreTrainedModel",
		]


if TYPE_CHECKING:
		from .configuration_yolos import YOLOS_PRETRAINED_CONFIG_ARCHIVE_MAP, YolosConfig, YolosOnnxConfig

		try:
				if not is_vision_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .feature_extraction_yolos import YolosFeatureExtractor
				from .image_processing_yolos import YolosImageProcessor

		try:
				if not is_torch_available():
						raise OptionalDependencyNotAvailable()
		except OptionalDependencyNotAvailable:
				pass
		else:
				from .modeling_yolos import (
				    YOLOS_PRETRAINED_MODEL_ARCHIVE_LIST,
				    YolosForObjectDetection,
				    YolosModel,
				    YolosPreTrainedModel,
				)


else:
		import sys

		lowerCamelCase__	=							_LazyModule(__name__, globals()["__file__"], _import_structure, module_spec=__spec__)



