
"""simple docstring"""

from __future__ import annotations




def     lowercase__						(					lowerCAmelCase				:					list ,				lowerCAmelCase				:					int | None = None ,				lowerCAmelCase				:					int | None = None ) ->      None:






    """simple docstring"""




    if start is None:
        UpperCAmelCase									=					0

    if end is None:
        UpperCAmelCase									=					len(lowerCAmelCase ) - 1

    if start >= end:
        return

    UpperCAmelCase									=					(start + end) // 2

    slowsort(lowerCAmelCase ,				lowerCAmelCase ,				lowerCAmelCase )
    slowsort(lowerCAmelCase ,				mid + 1 ,				lowerCAmelCase )

    if sequence[end] < sequence[mid]:
        UpperCAmelCase			,							UpperCAmelCase									=					sequence[mid], sequence[end]

    slowsort(lowerCAmelCase ,				lowerCAmelCase ,				end - 1 )


if __name__ == "__main__":
   from doctest import testmod

   testmod()





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



