from pwn import *
from string import ascii_lowercase
import os

io = remote('jh2i.com',50012)
flag='LLS{b'
stop=1
while stop:
    for c in ascii_lowercase:
        
        io.send(flag+c)
        resp=io.recv()
        resp=resp.decode("utf-8")
        if('WRONG!' in resp):
            continue
        else:
            flag+=c
            print(flag+" so far \n")
            break
    if('congrat' in resp):
        stop=0
        
