# your code goes here
for i in range(1,5):
	for j in range(i):
		print(i,end='')
	print()