"""simple docstring"""




def   UpperCAmelCase					(	UpperCamelCase__				):






							"""simple docstring"""





							A__	     =							[1]

							A__     ,  A__     ,  A__	     =							0, 0, 0
							A__	     =							ugly_nums[ia] * 2
							A__	     =							ugly_nums[ia] * 3
							A__	     =							ugly_nums[ia] * 5

							for _ in range(1       ,    UpperCamelCase__				):
														A__	     =							min(UpperCamelCase__       ,    UpperCamelCase__       ,    UpperCamelCase__				)
														ugly_nums.append(UpperCamelCase__				)
														if next_num == next_a:
																					ia += 1
																					A__	     =							ugly_nums[ia] * 2
														if next_num == next_a:
																					ia += 1
																					A__	     =							ugly_nums[ia] * 3
														if next_num == next_a:
																					ia += 1
																					A__	     =							ugly_nums[ia] * 5
							return ugly_nums[-1]


if __name__ == "__main__":
				from doctest import testmod

				testmod(verbose=True)
				print(F'''{ugly_numbers(2_00) = }''')






"""simple docstring"""




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
__lowerCamelCase											=  "."


if __name__ == "__main__":
				__lowerCamelCase											=  os.path.join(REPO_PATH, "utils/documentation_tests.txt")
				__lowerCamelCase											=  []
				__lowerCamelCase											=  []
				with open(doctest_file_path) as fp:
								for line in fp:
												__lowerCamelCase											=  line.strip()
												__lowerCamelCase											=  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:
								__lowerCamelCase											=  "\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.")





