#include <bits/stdc++.h>
using namespace std;
int check(int i) {
  int ans = 0;
  while (i > 0) {
    ans++;
    i /= 10;
  }
  return ans;
}
int main() {
  long long n;
  cin >> n;
  int ct = 0;
  for (int i = 1;;) {
    printf("%d\n", i);
    ct++;
    if (ct == n) break;
    int len = check(i + 1);
    int m = 1;
    for (int j = 1; j < len; j++) m *= 10;
    i += m;
  }
  return 0;
}
