if __name__ == "__main__":
    K = int(input())
    ans = []
    n = 0
    while(len(ans)<K):
        for i in range(1,10):
            ans.append(str(i)+"9"*n)
        n += 1

    for i in range(K):
        print(ans[i])