#include <bits/stdc++.h>
using namespace std;
int main() {
  int k;
  cin >> k;
  int a[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9};
  for (int i = 0; i < k; i++) {
    int j = i;
    cout << a[j] << endl;
    if (j == 8) {
      for (int p = 0; p < 9; p++) {
        a[p] *= 10;
      }
    }
  }
}
