# a= input("enter the word:\n")
# b=int(input("enter the copies you wannt:\n"))
# c=b*a
# print("original string is", a)
# print("copies are \n", c)

list=[]
a=input("enter word")
b=int(input("enter num"))
for i in range(0,b+1):
 c= i*a
print(c)