#include <bits/stdc++.h>
using namespace std;
const long long int mod = 1e9 + 7;
const long long int INF = 1e9;
const long long int MAXN = 1e9;
int main() {
  long long int k;
  cin >> k;
  for (int i = 1; i <= k; i++) {
    if (i <= 9)
      cout << i << endl;
    else {
      int x = (i - 9) * 10 + 9;
      cout << x << endl;
    }
  }
  return 0;
}
