#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  int count = 0;
  cin >> a;
  if (a <= 9) {
    for (int i = 1; i <= a; i++) {
      cout << i;
      cout << "\n";
    }
  } else {
    for (int i = 1; i <= 9; i++) {
      cout << i;
      count++;
      cout << "\n";
    }
    for (int i = 1; count < a; i++) {
      cout << i << 9;
      cout << "\n";
      count++;
    }
  }
}
