#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll k;
  cin >> k;
  ll count = 1;
  while (k > 0) {
    cout << count << endl;
    k--;
    count++;
    if (count == 10) {
      break;
    }
  }
  count = 19;
  while (k > 0) {
    cout << count << endl;
    if (count < 99) {
      count = count + 10;
    } else if (count < 999) {
      count = count + 100;
    } else if (count < 1999) {
      count = count + 100;
    } else if (count == 1999) {
      count = 10999;
    } else if (count < 19999) {
      count = count + 1000;
    } else if (count == 19999) {
      count = 109999;
    } else if (count < 199999) {
      count = count + 10000;
    } else if (count == 199999) {
      count = 1099999;
    } else if (count < 1999999) {
      count = count + 100000;
    } else if (count == 1999999) {
      count = 10999999;
    } else if (count < 19999999) {
      count = count + 1000000;
    } else if (count == 19999999) {
      count = 109999999;
    } else if (count < 199999999) {
      count = count + 10000000;
    } else if (count == 199999999) {
      count = 1099999999;
    } else if (count < 1999999999) {
      count = count + 100000000;
    } else if (count == 1999999999) {
      count = 10999999999;
    } else if (count < 19999999999) {
      count = count + 1000000000;
    } else if (count == 19999999999) {
      count = 109999999999;
    } else if (count < 199999999999) {
      count = count + 10000000000;
    } else if (count == 199999999999) {
      count = 1099999999999;
    } else if (count < 1999999999999) {
      count = count + 100000000000;
    } else if (count == 1999999999999) {
      count = 10999999999999;
    } else if (count < 19999999999999) {
      count = count + 1000000000000;
    } else if (count == 19999999999999) {
      count = 109999999999999;
    } else if (count < 199999999999999) {
      count = count + 10000000000000;
    } else if (count == 199999999999999) {
      count = 1099999999999999;
    } else if (count < 1999999999999999) {
      count = count + 100000000000000;
    } else if (count == 1999999999999999) {
      count = 10999999999999999;
    } else if (count < 19999999999999999) {
      count = count + 1000000000000000;
    } else if (count == 19999999999999999) {
      count = 109999999999999999;
    } else if (count < 199999999999999999) {
      count = count + 10000000000000000;
    }
    k--;
  }
}
