Result

AC

Duration

648ms

Code [DL]

c=list(input())
for i in range(len(c)):
	if 49<ord(c[i+1])<58:
		print(c[i]*int(c[i+1]))
	elif 58<ord(c[i]):
		print(c[i])

stdin

tp7m9w9p7x4n5e4o3d3l6y2s8l9m6a6m8d9u3gh8d8g8b3l6yzxcpk5p3xq5t4j7b8w4r2s2r6v2x6k2f8f9i2a9vh9

stdout

t
ppppppp
mmmmmmmmm
wwwwwwwww
ppppppp
xxxx
nnnnn
eeee
ooo
ddd
llllll
yy
ssssssss
lllllllll
mmmmmm
aaaaaa
mmmmmmmm
ddddddddd
uuu
g
hhhhhhhh
dddddddd
gggggggg
bbb
llllll
y
z
x
c
p
kkkkk
ppp
x
qqqqq
tttt
jjjjjjj
bbbbbbbb
wwww
rr
ss
rrrrrr
vv
xxxxxx
kk
ffffffff
fffffffff
ii
aaaaaaaaa
v
hhhhhhhhh

stderr

Traceback (most recent call last):
  File "/volume/CODE", line 3, in <module>
    if 49<ord(c[i+1])<58:
IndexError: list index out of range

strace