if __name__ == '__main__':
    K = int(input())
    s = [1, 2, 3, 4, 5, 6, 7, 8, 9]

    if K > 9:
        for i, j in enumerate(range(K-9)):
            s.append((i+1)*10 + 9)

    for i in s:
        print(i)

