#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  long long i = 1;
  while (k) {
    if (i < 10) {
      cout << i << endl;
      if (i < 9)
        i = i + 1;
      else
        i = i + 10;
      k--;
    } else if (i < 100) {
      cout << i << endl;
      if (i < 99)
        i = i + 10;
      else
        i = i + 100;
      k--;
    } else if (i < 1000) {
      cout << i << endl;
      if (i < 999)
        i = i + 100;
      else
        i = i + 1000;
      k--;
    } else if (i < 10000) {
      cout << i << endl;
      if (i < 9999)
        i = i + 1000;
      else
        i = i + 10000;
      k--;
    } else if (i < 100000) {
      cout << i << endl;
      if (i < 99999)
        i = i + 10000;
      else
        i = i + 100000;
      k--;
    } else if (i < 1000000) {
      cout << i << endl;
      if (i < 999999)
        i = i + 100000;
      else
        i = i + 1000000;
      k--;
    } else if (i < 10000000) {
      cout << i << endl;
      if (i < 9999999)
        i = i + 1000000;
      else
        i = i + 10000000;
      k--;
    } else if (i < 100000000) {
      cout << i << endl;
      if (i < 99999999)
        i = i + 10000000;
      else
        i = i + 100000000;
      k--;
    } else if (i < 1000000000) {
      cout << i << endl;
      if (i < 999999999)
        i = i + 100000000;
      else
        i = i + 1000000000;
      k--;
    } else if (i < 10000000000) {
      cout << i << endl;
      if (i < 9999999999)
        i = i + 1000000000;
      else
        i = i + 10000000000;
      k--;
    } else if (i < 100000000000) {
      cout << i << endl;
      if (i < 99999999999)
        i = i + 10000000000;
      else
        i = i + 100000000000;
      k--;
    } else if (i < 1000000000000) {
      cout << i << endl;
      if (i < 999999999999)
        i = i + 100000000000;
      else
        i = i + 1000000000000;
      k--;
    } else if (i < 10000000000000) {
      cout << i << endl;
      if (i < 9999999999999)
        i = i + 1000000000000;
      else
        i = i + 10000000000000;
      k--;
    } else if (i < 100000000000000) {
      cout << i << endl;
      if (i < 99999999999999)
        i = i + 10000000000000;
      else
        i = i + 100000000000000;
      k--;
    } else if (i < 1000000000000000) {
      cout << i << endl;
      if (i < 999999999999999)
        i = i + 100000000000000;
      else
        i = i + 1000000000000000;
      k--;
    } else if (i < 10000000000000000) {
      cout << i << endl;
      if (i < 9999999999999999)
        i = i + 1000000000000000;
      else
        i = i + 10000000000000000;
      k--;
    }
  }
}
