#include <bits/stdc++.h>
using namespace std;
template <typename T>
using maxpq = priority_queue<T, vector<T>, greater<T>>;
template <typename T>
using minpq = priority_queue<T>;
inline int s(int n) {
  int ans = 0;
  while (n) {
    ans += n % 10;
    n /= 10;
  }
  return ans;
}
int main() {
  clock_t clk = clock();
  int n, k;
  cin >> k;
  for (int i = 1; i < 10 && k--; i++) {
    cout << i << '\n';
  }
  for (int i = 1; k--; i++) {
    cout << i << 9 << '\n';
  }
  cerr << double(clock() - clk) * 1000.0 / CLOCKS_PER_SEC << '\n';
}
