#include <bits/stdc++.h>
using namespace std;
int K;
int main() {
  cin >> K;
  int cnt = 0;
  int x = 1;
  for (int i = 1; i < K + 1; i++) {
    string g = "";
    if (x % 10 == 0) cnt++;
    for (int j = 0; j < cnt; j++) {
      g += '9';
    }
    if (x == 10) x = 1;
    cout << x % 10 << g << endl;
    x++;
  }
  return 0;
}
