#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int K;
  cin >> K;
  cout << K << endl;
  double S;
  long long int count = 0;
  double min = 1000000;
  double a;
  vector<double> sunuke;
  vector<long long int> ans;
  for (long long int i = 1; i < 1000000; i++) {
    count = 0;
    long long int j = i;
    while (j >= 1) {
      count += j % 10;
      j /= 10;
    }
    a = double(i) / double(count);
    sunuke.push_back(a);
  }
  for (long long int i = 0; i < sunuke.size(); i++)
    cout << sunuke.at(i) << endl;
}
