#include <bits/stdc++.h>
using namespace std;
int main() {
  int N;
  cin >> N;
  vector<int> vec;
  for (int i = 0; i < 9; i++) vec.push_back(i + 1);
  for (int i = 9; i <= N; i++) vec.push_back(vec[i - 1] + 10);
  for (int i = 0; i < N; i++) {
    cout << vec[i] << endl;
  }
}
