#include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
void addSelf(int& x, int y) {
  x += y;
  if (x >= mod) x -= mod;
}
void subSelf(int& x, int y) {
  x -= y;
  if (x < 0) x += mod;
}
int gcd(int a, int b) {
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
int64_t power(int base, int expo) {
  int64_t sol = 1;
  for (int i = 0; i < expo; ++i) {
    sol *= base;
  }
  return sol;
}
bool compare1(pair<int, int> i, pair<int, int> j) {
  return i.second < j.second;
}
bool compare2(pair<int, int> i, pair<int, int> j) { return i.first > j.first; }
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  long long k;
  cin >> k;
  for (int i = 1; i <= 9; ++i) {
    cout << i << "\n";
    k--;
    if (k == 0) break;
  }
  int firstD = 1;
  int len = 1;
  while (k != 0) {
    cout << firstD;
    for (int i = 1; i <= len; ++i) {
      cout << '9';
    }
    if (firstD == 9) {
      firstD = 1;
      len++;
    } else
      firstD++;
    cout << "\n";
    k--;
  }
  return 0;
}
