print('Problem 1')
for i in range(10):
	print('*', end = ' ')
print()
print('Problem 2')
for i in range(10):
	print('*', end = ' ')
print()
for i in range(5):
	print('*', end = ' ')
print()
for i in range(20):
	print('*', end = ' ')
print()
print('Problem 3')
for i in range(10):
	for j in range(10):
		print('*', end = ' ')
	print()
print()
print('Problem 4')
for i in range(10):
	for j in range(5):
	    print('*', end = ' ')
	print()
print()
print('Problem 5')
for i in range(5):
	for j in range(20):
	    print('*', end = ' ')
	print()
print()
print('Problem 6')
for i in range(10):
	for j in range(10):
		print(j, end = ' ')
	print()
print()
print('Problem 7')
for i in range(10):
	for j in range(10):
		print(i, end = ' ')
	print()
print()
print('Problem 6')
for i in range(10):
	for j in range(i+1):
		print(j, end = ' ')
	print()
print()