num = int(input("Enter a number: ")) for _ in range(num): print("+" * num)