#include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 29;
int A[] = {1,      2,      3,      4,     5,     6,     7,     8,     9,
           19,     29,     39,     49,    59,    69,    79,    89,    99,
           199,    299,    399,    499,   599,   699,   799,   899,   999,
           1999,   2999,   3999,   4999,  5999,  6999,  7999,  8999,  9999,
           19999,  29999,  39999,  49999, 59999, 69999, 79999, 89999, 99999,
           199999, 299999, 399999, 499999};
int n;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cin >> n;
  for (int i = 0; i < n; i++) cout << A[i] << endl;
  return 0;
}
