n = int(input()) for i in range(1,n+1): if i == 10: for j in range(n): print(0,end="") else: for j in range(n): print(i,end="")