
import json
import sys




def 	UpperCamelCase__  (     SCREAMING_SNAKE_CASE_	:	str		,   SCREAMING_SNAKE_CASE_	:	Optional[Any]       )  ->     Optional[int]:
						with open(SCREAMING_SNAKE_CASE_		,   encoding="""utf-8"""       ) as f:
												_lowercase					       =					json.load(SCREAMING_SNAKE_CASE_       )

						_lowercase					       =					["""<details>""", """<summary>Show updated benchmarks!</summary>""", """ """]

						for benchmark_name in sorted(SCREAMING_SNAKE_CASE_       ):
												_lowercase					       =					results[benchmark_name]

												_lowercase					       =					benchmark_name.split("""/"""       )[-1]
												output_md.append(f"""### Benchmark: {benchmark_file_name}"""       )

												_lowercase					       =					"""| metric |"""
												_lowercase					       =					"""|--------|"""
												_lowercase					       =					"""| new / old (diff) |"""
												for metric_name in sorted(SCREAMING_SNAKE_CASE_       ):
																		_lowercase					       =					benchmark_res[metric_name]
																		_lowercase					       =					metric_vals["""new"""]
																		_lowercase					       =					metric_vals.get("""old"""		,   SCREAMING_SNAKE_CASE_       )
																		_lowercase					       =					metric_vals.get("""diff"""		,   SCREAMING_SNAKE_CASE_       )

																		_lowercase					       =					f""" {new_val:f}""" if isinstance(SCREAMING_SNAKE_CASE_		,   (int, float)       ) else """None"""

																		if old_val is not None:
																								val_str += f""" / {old_val:f}""" if isinstance(SCREAMING_SNAKE_CASE_		,   (int, float)       ) else "None"
																		if dif_val is not None:
																								val_str += f""" ({dif_val:f})""" if isinstance(SCREAMING_SNAKE_CASE_		,   (int, float)       ) else "None"

																		title += " " + metric_name + " |"
																		lines += "---|"
																		value += val_str + " |"

												output_md += [title, lines, value, " "]

						output_md.append("""</details>"""       )

						with open(SCREAMING_SNAKE_CASE_		,   """w"""		,   encoding="""utf-8"""       ) as f:
												f.writelines("""\n""".join(SCREAMING_SNAKE_CASE_       )       )


if __name__ == "__main__":
		A		: Union[str, Any]								=     sys.argv[1]
		A		: Dict								=     sys.argv[2]

		format_json_to_md(input_json_file, output_md_file)

def 	UpperCamelCase__  (     SCREAMING_SNAKE_CASE_	:	int = 2_00_00_00       )  ->     int:
						_lowercase					       =					[0 for i in range(n + 1       )]
						_lowercase					       =					1
						_lowercase					       =					1

						for i in range(2		,   int(n**0.5       ) + 1       ):
												if primality_list[i] == 0:
																		for j in range(i * i		,   n + 1		,   SCREAMING_SNAKE_CASE_       ):
																								_lowercase					       =					1
						_lowercase					       =					0
						for i in range(SCREAMING_SNAKE_CASE_       ):
												if primality_list[i] == 0:
																		sum_of_primes += i
						return sum_of_primes


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