n = int(input()) d = list(range(1, n+1)) s = "" for _ in range(n): for e in d: s += str(e) print(s)