Ответ:

name = input()

surname = input()

for i in range(10):

   print(name, surname)