#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ld = long double;
const int MAX = 510000;
ll dp[100010][4];
ll pow_mod(ll n, ll x) {
  ll res = 1;
  while (n > 0) {
    if ((n & 1) == 1) {
      res *= x;
      res %= 1000000007;
    }
    x = x * x;
    x %= 1000000007;
    n >>= 1;
  }
  return res;
}
ll a[11010];
double b[11010];
int main() {
  std::ios::sync_with_stdio(false);
  std::cin.tie(0);
  ll K;
  cin >> K;
  vector<ll> v;
  v.push_back(1);
  v.push_back(2);
  v.push_back(3);
  v.push_back(4);
  v.push_back(5);
  v.push_back(6);
  v.push_back(7);
  v.push_back(8);
  v.push_back(9);
  v.push_back(19);
  v.push_back(29);
  v.push_back(39);
  v.push_back(49);
  v.push_back(59);
  v.push_back(69);
  v.push_back(79);
  v.push_back(89);
  v.push_back(99);
  v.push_back(199);
  v.push_back(299);
  v.push_back(399);
  v.push_back(499);
  v.push_back(599);
  v.push_back(699);
  v.push_back(799);
  v.push_back(899);
  v.push_back(999);
  v.push_back(1099);
  v.push_back(1199);
  v.push_back(1299);
  v.push_back(1399);
  v.push_back(1499);
  v.push_back(1599);
  v.push_back(1699);
  v.push_back(1799);
  v.push_back(1899);
  v.push_back(1999);
  v.push_back(2999);
  v.push_back(3999);
  v.push_back(4999);
  v.push_back(5999);
  v.push_back(6999);
  v.push_back(7999);
  v.push_back(8999);
  v.push_back(9999);
  v.push_back(10999);
  v.push_back(11999);
  v.push_back(12999);
  v.push_back(13999);
  v.push_back(14999);
  v.push_back(15999);
  v.push_back(16999);
  v.push_back(17999);
  v.push_back(18999);
  v.push_back(19999);
  v.push_back(29999);
  v.push_back(39999);
  v.push_back(49999);
  v.push_back(59999);
  v.push_back(69999);
  v.push_back(79999);
  v.push_back(89999);
  v.push_back(99999);
  v.push_back(109999);
  v.push_back(119999);
  v.push_back(129999);
  v.push_back(139999);
  v.push_back(149999);
  v.push_back(159999);
  v.push_back(169999);
  v.push_back(179999);
  v.push_back(189999);
  v.push_back(199999);
  v.push_back(299999);
  v.push_back(399999);
  v.push_back(499999);
  v.push_back(599999);
  v.push_back(699999);
  v.push_back(799999);
  v.push_back(899999);
  v.push_back(999999);
  v.push_back(1099999);
  v.push_back(1199999);
  v.push_back(1299999);
  v.push_back(1399999);
  v.push_back(1499999);
  v.push_back(1599999);
  v.push_back(1699999);
  v.push_back(1799999);
  v.push_back(1899999);
  v.push_back(1999999);
  v.push_back(2999999);
  v.push_back(3999999);
  v.push_back(4999999);
  v.push_back(5999999);
  v.push_back(6999999);
  v.push_back(7999999);
  v.push_back(8999999);
  v.push_back(9999999);
  v.push_back(10999999);
  v.push_back(11999999);
  v.push_back(12999999);
  v.push_back(13999999);
  v.push_back(14999999);
  v.push_back(15999999);
  v.push_back(16999999);
  v.push_back(17999999);
  v.push_back(18999999);
  v.push_back(19999999);
  v.push_back(29999999);
  v.push_back(39999999);
  v.push_back(49999999);
  v.push_back(59999999);
  v.push_back(69999999);
  v.push_back(79999999);
  v.push_back(89999999);
  v.push_back(99999999);
  v.push_back(109999999);
  v.push_back(119999999);
  v.push_back(129999999);
  v.push_back(139999999);
  v.push_back(149999999);
  v.push_back(159999999);
  v.push_back(169999999);
  v.push_back(179999999);
  v.push_back(189999999);
  v.push_back(199999999);
  v.push_back(299999999);
  v.push_back(399999999);
  v.push_back(499999999);
  v.push_back(599999999);
  v.push_back(699999999);
  v.push_back(799999999);
  v.push_back(899999999);
  v.push_back(999999999);
  v.push_back(1099999999);
  v.push_back(1199999999);
  v.push_back(1299999999);
  v.push_back(1399999999);
  v.push_back(1499999999);
  v.push_back(1599999999);
  v.push_back(1699999999);
  v.push_back(1799999999);
  v.push_back(1899999999);
  v.push_back(1999999999);
  v.push_back(2999999999);
  v.push_back(3999999999);
  v.push_back(4999999999);
  v.push_back(5999999999);
  v.push_back(6999999999);
  v.push_back(7999999999);
  v.push_back(8999999999);
  v.push_back(9999999999);
  v.push_back(10999999999);
  v.push_back(11999999999);
  v.push_back(12999999999);
  v.push_back(13999999999);
  v.push_back(14999999999);
  v.push_back(15999999999);
  v.push_back(16999999999);
  v.push_back(17999999999);
  v.push_back(18999999999);
  v.push_back(19999999999);
  v.push_back(29999999999);
  v.push_back(39999999999);
  v.push_back(49999999999);
  v.push_back(59999999999);
  v.push_back(69999999999);
  v.push_back(79999999999);
  v.push_back(89999999999);
  v.push_back(99999999999);
  v.push_back(109999999999);
  v.push_back(119999999999);
  v.push_back(129999999999);
  v.push_back(139999999999);
  v.push_back(149999999999);
  v.push_back(159999999999);
  v.push_back(169999999999);
  v.push_back(179999999999);
  v.push_back(189999999999);
  v.push_back(199999999999);
  v.push_back(299999999999);
  v.push_back(399999999999);
  v.push_back(499999999999);
  v.push_back(599999999999);
  v.push_back(699999999999);
  v.push_back(799999999999);
  v.push_back(899999999999);
  v.push_back(999999999999);
  v.push_back(1099999999999);
  v.push_back(1199999999999);
  v.push_back(1299999999999);
  v.push_back(1399999999999);
  v.push_back(1499999999999);
  v.push_back(1599999999999);
  v.push_back(1699999999999);
  v.push_back(1799999999999);
  v.push_back(1899999999999);
  v.push_back(1999999999999);
  v.push_back(2999999999999);
  v.push_back(3999999999999);
  v.push_back(4999999999999);
  v.push_back(5999999999999);
  v.push_back(6999999999999);
  v.push_back(7999999999999);
  v.push_back(8999999999999);
  v.push_back(9999999999999);
  v.push_back(10999999999999);
  v.push_back(11999999999999);
  v.push_back(12999999999999);
  v.push_back(13999999999999);
  v.push_back(14999999999999);
  v.push_back(15999999999999);
  v.push_back(16999999999999);
  v.push_back(17999999999999);
  v.push_back(18999999999999);
  v.push_back(19999999999999);
  v.push_back(29999999999999);
  v.push_back(39999999999999);
  v.push_back(49999999999999);
  v.push_back(59999999999999);
  v.push_back(69999999999999);
  v.push_back(79999999999999);
  v.push_back(89999999999999);
  v.push_back(99999999999999);
  v.push_back(109999999999999);
  v.push_back(119999999999999);
  v.push_back(129999999999999);
  v.push_back(139999999999999);
  v.push_back(149999999999999);
  v.push_back(159999999999999);
  v.push_back(169999999999999);
  v.push_back(179999999999999);
  v.push_back(189999999999999);
  v.push_back(199999999999999);
  v.push_back(299999999999999);
  v.push_back(399999999999999);
  v.push_back(499999999999999);
  v.push_back(599999999999999);
  v.push_back(699999999999999);
  v.push_back(799999999999999);
  v.push_back(899999999999999);
  v.push_back(999999999999999);
  v.push_back(1099999999999999);
  v.push_back(1199999999999999);
  v.push_back(1299999999999999);
  v.push_back(1399999999999999);
  v.push_back(1499999999999999);
  v.push_back(1599999999999999);
  v.push_back(1699999999999999);
  v.push_back(1799999999999999);
  v.push_back(1899999999999999);
  v.push_back(1999999999999999);
  v.push_back(2999999999999999);
  v.push_back(3999999999999999);
  v.push_back(4999999999999999);
  v.push_back(5999999999999999);
  v.push_back(6999999999999999);
  v.push_back(7999999999999999);
  v.push_back(8999999999999999);
  v.push_back(9999999999999999);
  for (int i = 0; i < K; ++i) {
    cout << v[i] << endl;
  }
  return 0;
}
