






import re





def 						__UpperCAmelCase      (					a_):
							def docstring_decorator(a_):
														snake_case_           =							fn.__doc__
														snake_case_           =							func_doc.split('\n')
														snake_case_           =							0
														while i < len(a_) and re.search(R'^\s*Examples?:\s*$'							,					lines[i]) is None:
																					i += 1
														if i < len(a_):
																					snake_case_           =							example_docstring
																					snake_case_           =							'\n'.join(a_)
														else:
																					raise ValueError(
																					    f'''The function {fn} should have an empty \'Examples:\' in its docstring as placeholder, '''
																					    f'''current docstring is:\n{func_doc}''')
														snake_case_           =							func_doc
														return fn

							return docstring_decorator













def 						__UpperCAmelCase      (					a_):
							return 1 if input_a == 0 else 0





def 						__UpperCAmelCase      (					):
							assert not_gate(0) == 1
							assert not_gate(1) == 0


if __name__ == "__main__":
	print(not_gate(0))
	print(not_gate(1))





