N = int(input()) if N ==1: print(2) else: ans="" for i in range(1,N+1): ans+=str(i) print(ans+ans)