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