size = int(input("Enter a number: ")) row = "+ " * size for _ in range(size): print(row.strip())