# coding: utf-8 from Crypto.Util.number import * import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("problem.harekaze.com", 30214)) def read(): t = "" while True: c = s.recv(1) if c=="\n": break t += c return t print read() # WELCOME print read() # to encure for _ in range(30): print read() # print read() # round ans = -1 for i in range(3): l = read() n,e,c = eval(l[l.f