from socket import *
import time

HOST = 'remote.gon.io'
PORT = 15000

def main():
	client = socket(AF_INET,SOCK_STREAM)
	client.connect((HOST,PORT))
	for i in range(100):
		d1 = eval(client.recv(200))
		d2 = eval(client.recv(200))
		print(d1+" "+d2)
		if d1==d2:
			client.send("True\n")
		else:
			client.send("False\n")
		print(i)
	print(client.recv(1024))
	print(client.recv(1024))
	client.close()

if __name__ == "__main__":
	main()
