'''****** Задание ******** *Излишняя автоматизация 2.0. ''' info = input() repeat = int(input()) for _ in range(repeat): print(info)