


"""simple docstring"""
import os







def   _a (					_SCREAMING_SNAKE_CASE = "input.txt" )			-> int:

							with open(os.path.join(os.path.dirname(__A ) ,       __A ) ) as input_file:
														snake_case_							=						[
														    [int(__A ) for element in line.split(""",""" )]
														    for line in input_file.readlines()
														]

							snake_case_							=						len(__A )
							snake_case_							=						len(matrix[0] )

							snake_case_							=						[[-1 for _ in range(__A )] for _ in range(__A )]
							for i in range(__A ):
														snake_case_							=						matrix[i][0]

							for j in range(1 ,       __A ):
														for i in range(__A ):
																					snake_case_							=						minimal_path_sums[i][j - 1] + matrix[i][j]

														for i in range(1 ,       __A ):
																					snake_case_							=						min(
																					    minimal_path_sums[i][j] ,       minimal_path_sums[i - 1][j] + matrix[i][j] )

														for i in range(rows - 2 ,       -1 ,       -1 ):
																					snake_case_							=						min(
																					    minimal_path_sums[i][j] ,       minimal_path_sums[i + 1][j] + matrix[i][j] )

							return min(minimal_path_sums_row[-1] for minimal_path_sums_row in minimal_path_sums )


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





'''simple docstring'''







def 				SCREAMING_SNAKE_CASE__	(   __A = 1_000_000	)       ->	int:
	_snake_case   						=		limit + 1
	_snake_case   						=		[0] * limit
	for first_term in range(1			,				__A	):
		for n in range(__A			,				__A			,				__A	):
			_snake_case   						=		first_term + n / first_term
			if common_difference % 4:  # d must be divisble by 4
				continue
			else:
				common_difference /= 4
				if (
				    first_term > common_difference
				    and first_term < 4 * common_difference
				):  # since x,y,z are positive integers
					frequency[n] += 1  # so z>0 and a>d ,also 4d<a

	_snake_case   						=		sum(1 for x in frequency[1:limit] if x == 10	)

	return count


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

