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