




def 					snake_case(				__magic_name__ ,		__magic_name__    ) ->							Union[str, Any]:





     '''simple docstring'''


     return int(input_a == input_a == 0    )






def 					snake_case(				) ->							Optional[int]:





     '''simple docstring'''


     print('''Truth Table of NOR Gate:'''    )
     print('''|   Input 1   |  Input 2  | Output |'''    )
     print(F"""|      0      |    0      |  {nor_gate(0 ,		0    )}     |"""    )
     print(F"""|      0      |    1      |  {nor_gate(0 ,		1    )}     |"""    )
     print(F"""|      1      |    0      |  {nor_gate(1 ,		0    )}     |"""    )
     print(F"""|      1      |    1      |  {nor_gate(1 ,		1    )}     |"""    )


if __name__ == "__main__":
 import doctest

 doctest.testmod()
 main()



"""simple docstring"""







def 					a__			(				SCREAMING_SNAKE_CASE    :    int				,      SCREAMING_SNAKE_CASE    :    int				):


  '''simple docstring'''







  while b:
    lowerCAmelCase						,  lowerCAmelCase     :     Any								=							b, a % b
  return a
def 					a__			(				SCREAMING_SNAKE_CASE    :    int				,      SCREAMING_SNAKE_CASE    :    int				):


  '''simple docstring'''







  return a if b == 0 else euclidean_gcd_recursive(SCREAMING_SNAKE_CASE				,      a % b				)
def 					a__			(				):


  '''simple docstring'''







  print(f"""euclidean_gcd(3, 5) = {euclidean_gcd(3				,      5				)}"""				)
  print(f"""euclidean_gcd(5, 3) = {euclidean_gcd(5				,      3				)}"""				)
  print(f"""euclidean_gcd(1, 3) = {euclidean_gcd(1				,      3				)}"""				)
  print(f"""euclidean_gcd(3, 6) = {euclidean_gcd(3				,      6				)}"""				)
  print(f"""euclidean_gcd(6, 3) = {euclidean_gcd(6				,      3				)}"""				)

  print(f"""euclidean_gcd_recursive(3, 5) = {euclidean_gcd_recursive(3				,      5				)}"""				)
  print(f"""euclidean_gcd_recursive(5, 3) = {euclidean_gcd_recursive(5				,      3				)}"""				)
  print(f"""euclidean_gcd_recursive(1, 3) = {euclidean_gcd_recursive(1				,      3				)}"""				)
  print(f"""euclidean_gcd_recursive(3, 6) = {euclidean_gcd_recursive(3				,      6				)}"""				)
  print(f"""euclidean_gcd_recursive(6, 3) = {euclidean_gcd_recursive(6				,      3				)}"""				)


if __name__ == "__main__":
     main()





