'''
Created on 23-May-2018

@author: Titan
'''

if __name__ == '__main__':
    pass

'''
value = input('enter')
number = input('enter')

integer = int(value) // int(number) 
reminder = int(value) % int(number)

print(integer)
print(reminder)
print(divmod(int(value), int(number)))
'''
'''
enter177
enter10
17
7
(17, 7)
'''
'''
a = 3
b = 4
m = 5

print(pow(a, b))
print(pow(a, b, m))

print(pow(int(input('prompt')), int(input('prompt'))) + pow(int(input('prompt')), int(input('prompt'))))
'''
for i in range(1,int(input('5'))): #More than 2 lines will result in 0 score. Do not leave a blank line also
    for j in range(0, i):
        print(i, end='')
    print()














