# -*- coding: utf-8 -*-
"""
Created on Wed Jun 26 04:18:59 2019

@author: MalikMehrKhan
"""
print (1)
print (2, end = "")
print (2)
print (3, end = "")
print (3, end = "")
print (3)
print (4, end= "")
print (4, end = "")
print (4, end = "")
print (4)
print (5, end= "")
print (5, end = "")
print (5, end = "")
print (5, end = "")
print (5)
print (4, end= "")
print (4, end = "")
print (4, end = "")
print (4)
print (3, end = "")
print (3, end = "")
print (3)
print (2, end = "")
print (2)
print (1)
