name = input("What is your name? ") num = int(input("How many times? ")) output = (name + " ") * num print(output.strip())