10 lines
252 B
Python
10 lines
252 B
Python
# a, b = int(input()), list(map(int, " ".join(input()).split()))
|
|
# c = 0
|
|
# for i in range(len(b)):
|
|
# c += a*b[len(b)-i-1]*10**i
|
|
# print(a*b[len(b)-i-1])
|
|
# print(c)
|
|
|
|
a, b = int(input()), input()
|
|
print(*[a * int(i) for i in b][::-1], a * int(b))
|