#include <bits/stdc++.h>
using namespace std;
int main() {
  long long K, num = 1;
  cin >> K;
  while (K > 0 && num < 10) {
    cout << num << endl;
    num++;
    K--;
  }
  if (K > 0) {
    while (K > 0) {
      num += 9;
      cout << num << endl;
      num++;
      K--;
    }
  }
  return 0;
}
