a = str(input())
b = int(input())
for i in range(0, b):
    print(a)

de800870fce0cee52fa22ee5140a64d6282b8d21
<mask token>

<mask token>
for i in range(0, b):
    print(a)

a = str(input())
b = int(input())
for i in range(0, b):
    print(a)
