r=int(input()) for i in range(5,0,-1): for j in range(0,i): print(r,end="") print("")