

import os


# All paths are set with the intent you should run this script from the root of the repo with the command
# python utils/check_doctest_list.py
UpperCAmelCase_							:					Tuple		 =   '''.'''


if __name__ == "__main__":
			UpperCAmelCase_							:					Any		 =   os.path.join(REPO_PATH, '''utils/documentation_tests.txt''')
			UpperCAmelCase_							:					Tuple		 =   []
			UpperCAmelCase_							:					Any		 =   []
			with open(doctest_file_path) as fp:
						for line in fp:
									UpperCAmelCase_							:					Optional[int]		 =   line.strip()
									UpperCAmelCase_							:					Union[str, Any]		 =   os.path.join(REPO_PATH, line)
									if not (os.path.isfile(path) or os.path.isdir(path)):
												non_existent_paths.append(line)
									all_paths.append(path)
			if len(non_existent_paths) > 0:
						UpperCAmelCase_							:					Union[str, Any]		 =   '''\n'''.join(non_existent_paths)
						raise ValueError(f"""`utils/documentation_tests.txt` contains non-existent paths:\n{non_existent_paths}""")
			if all_paths != sorted(all_paths):
						raise ValueError('''Files in `utils/documentation_tests.txt` are not in alphabetical order.''')








from math import sqrt
def 							__SCREAMING_SNAKE_CASE     (   a__    :   int = 1000000       )					->				int:
	__A :			int		    =			0
	__A :			int		    =			0
	__A :			int

	while num_cuboids <= limit:
		max_cuboid_size += 1
		for sum_shortest_sides in range(2			,2 * max_cuboid_size + 1       ):
			if sqrt(sum_shortest_sides**2 + max_cuboid_size**2       ).is_integer():
				num_cuboids += (
				    min(a__			,sum_shortest_sides // 2       )
				    - max(1			,sum_shortest_sides - max_cuboid_size       )
				    + 1
				)

	return max_cuboid_size


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





