"""simple docstring"""




def 							SCREAMING_SNAKE_CASE					(      _lowerCamelCase						:	int      ,_lowerCamelCase						:	int     )	->				int:
  return 1 if input_a == input_a else 0





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



"""simple docstring"""




import socket





def 							SCREAMING_SNAKE_CASE					(      )	->				str:
  _lowerCAmelCase						:	Optional[int]        =					socket.socket(socket.AF_INET      ,socket.SOCK_STREAM     )
  _lowerCAmelCase						:	Optional[int]        =					socket.gethostname()
  _lowerCAmelCase						:	Tuple        =					12312

  sock.connect((host, port)     )
  sock.send(b"""Hello server!"""     )

  with open("""Received_file"""      ,"""wb"""     ) as out_file:
    print("""File opened"""     )
    print("""Receiving data..."""     )
    while True:
      _lowerCAmelCase						:	List[Any]        =					sock.recv(1024     )
      if not data:
        break
      out_file.write(_lowerCamelCase     )

  print("""Successfully received the file"""     )
  sock.close()
  print("""Connection closed"""     )


if __name__ == "__main__":
     main()




