#include<bits/stdc++.h>
using namespace std;
using ll=long long;
ll dig_sum(ll n){
  ll ans=0;
  while(n){
    ans+=n%10;
    n/=10;
  }
  return ans;
}
int main(void){
  ll k;
  cin>>k;
  ll a=0,d=1;
  while(k--){
    if(d*dig_sum(a+d) < a+d){
      d*=10;
    }
    a+=d;
    cout<<a<<endl;
  }
  return 0;
}