s = 'y15G16y6Y1P11U13R14v19t20n19Z18h9x20w19s4N6A13c5Z14c9X11G14S17o5n2O8F16z4o1L17A20W3U9i10D2U5u3Q5u17x16'
number = ''
n = 0
result = ''
letter = ''
for i in s:
if i.isdigit():
number = number + i
continue
else:
if letter == '':
letter = i
continue
if number == '':
n = 1
else:
n = int(number)
number = ''
result = result + (letter * n)
letter = i
if number == '':
n = 1
else:
n = int(number)
if letter != '':
result = result + (letter * n)
print(result)