#include <bits/stdc++.h>
using namespace std;
const long long MAX_V = 100000;
const long long INF = 1e9;
const long long MOD = 998244353;
int main() {
  long long k;
  cin >> k;
  for (long long i = 1; i < k + 1; i++) {
    if (i < 10) {
      cout << i << endl;
    } else {
      cout << (i - 9LL) << "9" << endl;
    }
  }
}
