
"""simple docstring"""

def     lowercase__						(					lowerCAmelCase				:					List[Any] = 10**9 ) ->      Any:






				"""simple docstring"""




				UpperCAmelCase									=					1
				UpperCAmelCase									=					2

				UpperCAmelCase									=					0
				UpperCAmelCase									=					0
				UpperCAmelCase									=					0
				while perimeter <= max_perimeter:
								perimeters_sum += perimeter

								prev_value += 2 * value
								value += prev_value

								UpperCAmelCase									=					2 * value + 2 if i % 2 == 0 else 2 * value - 2
								i += 1

				return perimeters_sum


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





"""simple docstring"""

def     lowercase__						(					lowerCAmelCase				:					int ,				lowerCAmelCase				:					int ) ->      int:






    """simple docstring"""




    return int((input_a, input_a).count(0 ) == 0 )




def     lowercase__						(					) ->      None:






    """simple docstring"""




    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))



