






'''simple docstring'''



def 				lowercase_					(     __A			:							Tuple      )							->   Tuple:



 """simple docstring"""




 lowercase       : int						=len(__A      )
 lowercase       : int						=sum(__A      )

 lowercase       : List[Any]						=[[False for x in range(s + 1      )] for y in range(n + 1      )]

 for i in range(1       ,   n + 1      ):
  lowercase       : Optional[Any]						=True

 for i in range(1       ,   s + 1      ):
  lowercase       : Union[str, Any]						=False

 for i in range(1       ,   n + 1      ):
  for j in range(1       ,   s + 1      ):
   lowercase       : Union[str, Any]						=dp[i][j - 1]

   if arr[i - 1] <= j:
    lowercase       : Union[str, Any]						=dp[i][j] or dp[i - 1][j - arr[i - 1]]

 for j in range(int(s / 2      )       ,   -1       ,   -1      ):
  if dp[n][j] is True:
   lowercase       : Union[str, Any]						=s - 2 * j
   break

 return diff











'''simple docstring'''



def 				lowercase_					(     __A			:							int       ,   __A			:							int      )							->   int:



 """simple docstring"""




 return 1 if input_a == input_a else 0


def 				lowercase_					(     )							->   None:



 """simple docstring"""




 assert xnor_gate(0       ,   0      ) == 1
 assert xnor_gate(0       ,   1      ) == 0
 assert xnor_gate(1       ,   0      ) == 0
 assert xnor_gate(1       ,   1      ) == 1


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



