#!/usr/bin/env python3

def main():
    K = int(input())

    i = 1
    n = 0
    k = K
    while 0 < k:
        print(str(i) + ('9' * n))
        k -= 1
        i += 1
        if i == 10:
            i = 1
            n += 1



if __name__ == '__main__':
    main()

