





import copy
from dataclasses import dataclass
from pathlib import Path
from typing import Dict, Optional, Union

@dataclass
class 		__a				:
       __snake_case    : List[Any]   =		None
       __snake_case    : List[str]   =		False
       __snake_case    : Union[str, Any]   =		False
       __snake_case    : Dict   =		False
       __snake_case    : Optional[Any]   =		None
       __snake_case    : List[str]   =		None
       __snake_case    : List[str]   =		False
       __snake_case    : Optional[Any]   =		False
       __snake_case    : Dict   =		False
       __snake_case    : Union[str, Any]   =		True
       __snake_case    : Dict   =		None
       __snake_case    : Tuple   =		1
       __snake_case    : List[str]   =		None
       __snake_case    : Any   =		False
       __snake_case    : Dict   =		None
       __snake_case    : Optional[int]   =		None



       def 			A				(  self						: Any      ):
           return self.__class__(**{k: copy.deepcopy(lowerCamelCase__      ) for k, v in self.__dict__.items()}      )







'''simple docstring'''
def A__       (	UpperCAmelCase_    ,    UpperCAmelCase_				):
						return int((input_a, input_a).count(0				) != 0				)






def A__       (	):
						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))


