# 编程之家 (jb51.cc)
#!/usr/bin/env python
import random
while True:
input = int(raw_input('input number:'))
random_num = random.randint(1,10)
print input,random_num
if input == random_num:
for i in range(input):
for j in range(i):
print '*',print '\n'
else:
print 'please input number again'
# End 512.笔记 jb51.cc