import sys
input = sys.stdin.readline


def main():
    k = int(input())
    snuke = 1
    d = 1
    for _ in range(k):
        print(snuke)
        if snuke == 10*d - 1:
            d *= 10
        snuke += d


if __name__ == "__main__":
    main()