Rating: 3.0

```
from pwn import *
import re

info = lambda x : log.info(x)

def getStr(s):
matches = re.findall(r"'(\w*)' (\d+) times",s)
ret = ''
s = 0
for i in matches:
word,times= i
ret += (str(word)*int(times))
s += ord(word)

return ret+str(s)

def exp(r):

data = r.recvuntil('values.\n')
info(data)
r1 = getStr(data)
info(r1)
r.sendline(r1)
r.interactive()

r = remote('34.216.132.109', 9093)

exp(r)
```