'''
WAP to print
	*
	**
	***
	****
'''
#!/usr/bin/python
def pattern(n):
	for i in range(n):
		for j in range(i+1):
			print("*",end=" ")
		print("")
		
def main():
	n=int(input("Enter Number of Rows:"))
	pattern(n)
	
if __name__=='__main__':
	main()

