def main():
    K = int(input())
    d = ''
    cnt = 0
    while True:
        for n in range(1, 10):
            print(str(n)+d)
            cnt += 1
            if cnt >= K:
                return
        d += '9'


if __name__ == '__main__':
    main()