




def 		_A(       )    -> str:
							'''simple docstring'''


							for n in range(1				,       100_0000				):
														yield n * (n + 1) // 2







def 		_A(       UpperCamelCase__							:			List[str]				)    -> Union[str, Any]:
							'''simple docstring'''


							__lowercase      =    1
							__lowercase      =    2
							while i * i <= n:
														__lowercase      =    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 		_A(       )    -> str:
							'''simple docstring'''


							return next(i for i in triangle_number_generator() if count_divisors(UpperCamelCase__				) > 500				)


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












import os







def 		_A(       UpperCamelCase__							:			str = "matrix.txt"				)    -> int:
							'''simple docstring'''


							with open(os.path.join(os.path.dirname(UpperCamelCase__				)				,       UpperCamelCase__				)				) as in_file:
														__lowercase      =    in_file.read()

							__lowercase      =    [[int(UpperCamelCase__				) for cell in row.split(''','''				)] for row in data.strip().splitlines()]
							__lowercase      =    [[0 for cell in row] for row in grid]
							__lowercase      =    len(grid[0]				)

							__lowercase      =    [[0 for i in range(UpperCamelCase__				)] for j in range(UpperCamelCase__				)]
							__lowercase      =    grid[0][0]
							for i in range(1				,       UpperCamelCase__				):
														__lowercase      =    grid[0][i] + dp[0][i - 1]
							for i in range(1				,       UpperCamelCase__				):
														__lowercase      =    grid[i][0] + dp[i - 1][0]

							for i in range(1				,       UpperCamelCase__				):
														for j in range(1				,       UpperCamelCase__				):
																					__lowercase      =    grid[i][j] + min(dp[i - 1][j]				,       dp[i][j - 1]				)

							return dp[-1][-1]


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






