#include <bits/stdc++.h>
using namespace std;
double PI = 3.141592653589793;
long long int gcd(long long int a, long long int b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
long long int lcm(long long int a, long long int b) {
  return a * b / gcd(a, b);
}
long long int chg_DegRad(int deg) { return deg * PI / 180.0; }
long long int chg_RadDeg(int rad) { return rad * 180.0 / PI; }
long long int k;
long long int a[10000000];
long long int n = 9;
int main() {
  cin >> k;
  for (long long int i = (long long int)(1); i < (long long int)(10); i++)
    a[i - 1] = i;
  for (long long int i = 10; i < 1000000000000000; i *= 10) {
    for (long long int j = 2; j < 11; j++) {
      a[n] = (j * i) - 1;
      n++;
    }
  }
  for (long long int i = (long long int)(0); i < (long long int)(k); i++)
    cout << a[i] << endl;
  return 0;
}
