#!/usr/bin/env python3

import sys
sys.setrecursionlimit(300000)


def solve(K: int):
    d = 1
    while K > 0:
        for i in range(1, 10):
            ret = i * d + d - 1
            print(ret)
            K -= 1
            if K == 0:
                return
        d *= 10
    return

def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    K = int(next(tokens))  # type: int
    solve(K)

if __name__ == '__main__':
    main()
