"""simple docstring"""






def   a_						(					lowerCamelCase = 1_0**1_2       ):
				UpperCAmelCase__             =							1
				UpperCAmelCase__             =							0

				UpperCAmelCase__             =							1
				UpperCAmelCase__             =							1

				while numerator <= 2 * min_total - 1:
								prev_numerator += 2 * numerator
								numerator += 2 * prev_numerator

								prev_denominator += 2 * denominator
								denominator += 2 * prev_denominator

				return (denominator + 1) // 2


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




"""simple docstring"""






import argparse


lowerCAmelCase__  :  List[str]						     =	'docs/source/_static/js/custom.js'



def   a_						(					lowerCamelCase       ):
				with open(lowerCamelCase					,			encoding='utf-8'					,			newline='\n'       ) as f:
								UpperCAmelCase__             =							f.readlines()
				UpperCAmelCase__             =							0

				# First let's put the right version
				while not lines[index].startswith('const stableVersion ='       ):
								index += 1
				UpperCAmelCase__             =							f'''const stableVersion = "v{version}"\n'''

				# Then update the dictionary
				while not lines[index].startswith('const versionMapping = {'       ):
								index += 1

				# We go until the end
				while not lines[index].startswith('}'       ):
								index += 1
				# We add the new version at the end
				lines[index - 1] += f'''    "v{version}": "v{version}",\n'''

				with open(lowerCamelCase					,			'w'					,			encoding='utf-8'					,			newline='\n'       ) as f:
								f.writelines(lowerCamelCase       )


if __name__ == "__main__":
						lowerCAmelCase__  :  List[Any]						     =	argparse.ArgumentParser()
						parser.add_argument('--version', help='Release version.')
						lowerCAmelCase__  :  Optional[int]						     =	parser.parse_args()
						update_custom_js(args.version)



