


'''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 Optional
from urllib.parse import quote

import huggingface_hub as hfh
from packaging import version






def  __lowerCAmelCase (__lowerCAmelCase      , __lowerCAmelCase      , __lowerCAmelCase = None   ):
		if version.parse(hfh.__version__   ).release < version.parse("0.11.0"   ).release:
				# old versions of hfh don't url-encode the file path
				_UpperCAmelCase		:       str								=      quote(__lowerCAmelCase   )
		return hfh.hf_hub_url(__lowerCAmelCase      , __lowerCAmelCase      , repo_type="dataset"      , revision=__lowerCAmelCase   )



