



"""simple docstring"""
def      __magic_name__				(							lowercase = 10**12 ):
   SCREAMING_SNAKE_CASE_: Union[str, Any]     			=1
   SCREAMING_SNAKE_CASE_: Optional[int]     			=0

   SCREAMING_SNAKE_CASE_: int     			=1
   SCREAMING_SNAKE_CASE_: Optional[int]     			=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"""
def      __magic_name__				(							lowercase							,			lowercase ):
   return int((input_a, input_a).count(0 ) == 0 )





def      __magic_name__				(							):
   assert and_gate(0							,			0 ) == 0
   assert and_gate(0							,			1 ) == 0
   assert and_gate(1							,			0 ) == 0
   assert and_gate(1							,			1 ) == 1


if __name__ == "__main__":
   test_and_gate()
   print(and_gate(1, 0))
   print(and_gate(0, 0))
   print(and_gate(0, 1))
   print(and_gate(1, 1))



