def d_snuke_numbers(K):
    candidate = []
    for k in range(15):
        if k <= 2:
            tmp = ['1', '2', '3', '4', '5', '6', '7', '8', '9']
        else:
            tmp = ['10', '11', '12', '13', '14', '15', '16', '17', '18',
                   '19', '20', '29', '39', '49', '59', '69', '79', '89', '99']
        for l in tmp:
            if k <= 2:
                candidate.append(str(l)+str(9)*k)
            else:
                candidate.append(str(l)+str(9)*(k-1))
    ans = '\n'.join(candidate[:K])
    return ans

K = int(input())
print(d_snuke_numbers(K))