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