N = int(input()) L = [1,2,3,4,5,6,7,8,9,0] s = "" for i in range(N): s += str(L[i])*N print(int(s))