#include <bits/stdc++.h>
using namespace std;
int main() {
  int K;
  cin >> K;
  int count = 1;
  for (; count <= K && count < 10; ++count) cout << count << '\n';
  if (K >= 10) {
    int base = 10;
    for (; count <= K; ++count) {
      cout << base + 9 << '\n';
      base += 10;
    }
  }
  return 0;
}
