#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<ll>;
using vs = vector<string>;
inline ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
const ll INF = 1e9 + 9, LINF = 1e18;
int main() {
  ll n, a = 0;
  cin >> n;
  for (ll j = 1; n; j *= 10)
    for (ll i = 0; i < 9 && n; n--, i++) a += j, cout << a << endl;
  return 0;
}
