#include <bits/stdc++.h>
using namespace std;
int main() {
  unsigned long a;
  cin >> a;
  for (unsigned long i = 0; i <= a; i++) {
    if (i < 10) {
      cout << i << endl;
    } else {
      cout << (i - 10) * 10 + 19 << endl;
    }
  }
}
