


'''simple docstring'''


def  __lowerCAmelCase ():
		for n in range(1      , 1_000_000   ):
				yield n * (n + 1) // 2






def  __lowerCAmelCase (__lowerCAmelCase   ):
		_UpperCAmelCase		:       List[str]								=      1
		_UpperCAmelCase		:       Any								=      2
		while i * i <= n:
				_UpperCAmelCase		:       Dict								=      0
				while n % i == 0:
						n //= i
						multiplicity += 1
				divisors_count *= multiplicity + 1
				i += 1
		if n > 1:
				divisors_count *= 2
		return divisors_count






def  __lowerCAmelCase ():
		return next(i for i in triangle_number_generator() if count_divisors(__lowerCAmelCase   ) > 500   )


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







'''simple docstring'''


from typing import TYPE_CHECKING

from ...utils import OptionalDependencyNotAvailable, _LazyModule, is_torch_available


lowerCamelCase__    	=     {
    'configuration_instructblip': [
        'INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP',
        'InstructBlipConfig',
        'InstructBlipQFormerConfig',
        'InstructBlipVisionConfig',
    ],
    'processing_instructblip': ['InstructBlipProcessor'],
}

try:
						if not is_torch_available():
												raise OptionalDependencyNotAvailable()
except OptionalDependencyNotAvailable:
						pass
else:
						lowerCamelCase__    	=     [
						    'INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST',
						    'InstructBlipQFormerModel',
						    'InstructBlipPreTrainedModel',
						    'InstructBlipForConditionalGeneration',
						    'InstructBlipVisionModel',
						]

if TYPE_CHECKING:
						from .configuration_instructblip import (
						    INSTRUCTBLIP_PRETRAINED_CONFIG_ARCHIVE_MAP,
						    InstructBlipConfig,
						    InstructBlipQFormerConfig,
						    InstructBlipVisionConfig,
						)
						from .processing_instructblip import InstructBlipProcessor

						try:
												if not is_torch_available():
																		raise OptionalDependencyNotAvailable()
						except OptionalDependencyNotAvailable:
												pass
						else:
												from .modeling_instructblip import (
												    INSTRUCTBLIP_PRETRAINED_MODEL_ARCHIVE_LIST,
												    InstructBlipForConditionalGeneration,
												    InstructBlipPreTrainedModel,
												    InstructBlipQFormerModel,
												    InstructBlipVisionModel,
												)

else:
						import sys

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



