
"""simple docstring"""



def 					lowerCamelCase   (     _snake_case ):
    UpperCAmelCase__	:      list[list[int]]     							=					[[0 for _ in range(_snake_case )] for _ in range(m + 1 )]
    for i in range(m + 1 ):
        UpperCAmelCase__	:      List[str]     							=					1

    for n in range(m + 1 ):
        for k in range(1    ,_snake_case ):
            memo[n][k] += memo[n][k - 1]
            if n - k > 0:
                memo[n][k] += memo[n - k - 1][k]

    return memo[m][m - 1]


if __name__ == "__main__":
    import sys

    if len(sys.argv) == 1:
        try:
            UpperCamelCase__          =	int(input('Enter a number: ').strip())
            print(partition(n))
        except ValueError:
            print('Please enter a number.')
    else:
        try:
            UpperCamelCase__          =	int(sys.argv[1])
            print(partition(n))
        except ValueError:
            print('Please pass a number.')



"""simple docstring"""



def 					lowerCamelCase   (     _snake_case    ,_snake_case ):
    return int((input_a, input_a).count(0 ) == 0 )
def 					lowerCamelCase   (     ):
    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))

