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