#include <bits/stdc++.h>
int sunuke(int n);
int main() {
  int n;
  scanf("%d", &n);
  for (int i = 1; i <= n; i++) {
    if (i <= 10) {
      printf("%d\n", i);
    } else {
      int tmp = (i - 10) * 10 + 9;
      printf("%d\n", tmp);
    }
  }
}
int sunuke(int n) {
  int fn = n;
  int sn = 0;
  while (n > 0) {
    sn += n % 10;
    n /= 10;
  }
  return fn / sn;
}
