Result

WA

Duration

591ms

Code [DL]

c=list(input())
for i in range(len(c)):
	if 58<ord(c[i]):d=c[i];print(d)
	else: j=int(c[i]);print(d*j)

stdin

gl2d9o2o3ad8j2y7b7v4h8p3x5r6c7f2f5e4f4vn7j9n8r7ts8f5uq4l5q7p9m9w8k7f3o4l6j7y6l7ng5i9eidz5w5

stdout

g
l
ll
d
ddddddddd
o
oo
o
ooo
a
d
dddddddd
j
jj
y
yyyyyyy
b
bbbbbbb
v
vvvv
h
hhhhhhhh
p
ppp
x
xxxxx
r
rrrrrr
c
ccccccc
f
ff
f
fffff
e
eeee
f
ffff
v
n
nnnnnnn
j
jjjjjjjjj
n
nnnnnnnn
r
rrrrrrr
t
s
ssssssss
f
fffff
u
q
qqqq
l
lllll
q
qqqqqqq
p
ppppppppp
m
mmmmmmmmm
w
wwwwwwww
k
kkkkkkk
f
fff
o
oooo
l
llllll
j
jjjjjjj
y
yyyyyy
l
lllllll
n
g
ggggg
i
iiiiiiiii
e
i
d
z
zzzzz
w
wwwww

stderr

strace