
"""simple docstring"""







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

"""simple docstring"""







from typing import Optional
from urllib.parse import quote

import huggingface_hub as hfh
from packaging import version
def    __lowerCAmelCase    (_UpperCamelCase	,  _UpperCamelCase	,  _UpperCamelCase = None		):
	if version.parse(hfh.__version__		).release < version.parse('0.11.0'		).release:
		# old versions of hfh don't url-encode the file path
		__lowerCAmelCase      :						List[str]						      =				quote(_UpperCamelCase		)
	return hfh.hf_hub_url(_UpperCamelCase	,  _UpperCamelCase	,  repo_type='dataset'	,  revision=_UpperCamelCase		)