#include <bits/stdc++.h>
using namespace std;
using ll = long long int;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using vll = vector<ll>;
using vb = vector<bool>;
using vvb = vector<vector<bool>>;
using vs = vector<string>;
using pii = pair<int, int>;
using pis = pair<int, string>;
using msi = map<string, int>;
template <typename T>
void say(T s) {
  cout << s << "\n";
}
template <typename T>
void say(vector<T> s) {
  auto itr = s.begin();
  cout << *(itr++);
  while (itr != s.end()) {
    cout << " " << *(itr++);
  }
  cout << "\n";
}
void yn(bool b) {
  if (b)
    say("Yes");
  else
    say("No");
}
template <typename T>
void maxi(T &a, T b) {
  a = max(a, b);
}
template <typename T>
void mini(T &a, T b) {
  a = min(a, b);
}
int bitsum(int a) {
  int ans = 0;
  string s = to_string(a);
  const int N = s.size();
  for (char x : s) ans += x - '0';
  return ans;
}
int main() {
  int K;
  cin >> K;
  ;
  for (ll i = 1; i <= K; ++i) {
    if (i % 10 == 0) continue;
    cout << i % 10;
    for (ll j = 0; j < i / 10; ++j) {
      cout << "9";
    }
    cout << "\n";
  }
}
