#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int k, i, j;
  cin >> k;
  if (k <= 9) {
    for (i = 1; i <= k; i++) {
      cout << i << endl;
    }
  }
  if (k > 9) {
    for (i = 1; i <= 9; i++) {
      cout << i << endl;
    }
    for (i = 10, j = 9; i <= k; i++, j += 10) {
      cout << j + 10 << endl;
    }
  }
}
