






def 					snake_case__				(				UpperCAmelCase				:	int     ,      UpperCAmelCase				:	int							):
    return int((input_a, input_a).count(0							) != 0							)


def 					snake_case__				(				):
    assert nand_gate(0     ,      0							) == 1
    assert nand_gate(0     ,      1							) == 1
    assert nand_gate(1     ,      0							) == 1
    assert nand_gate(1     ,      1							) == 0


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








import re



def 		lowerCAmelCase__     (       UpperCamelCase_					:							str						)->	str:

    if len(re.findall('''[ATCG]'''			,							UpperCamelCase_						)						) != len(UpperCamelCase_						):
        raise ValueError('''Invalid Strand'''						)

    return dna.translate(dna.maketrans('''ATCG'''			,							'''TAGC'''						)						)


if __name__ == "__main__":
   import doctest

   doctest.testmod()
