#include <bits/stdc++.h>
using namespace std;
const int N = 1e6 + 60;
char s9[] = "99999999999999999999999";
int main() {
  int k;
  scanf("%d", &k);
  for (int i = 0; i < k; i++) {
    printf("%c%s", i % 9 + '1', s9 + 23 - i / 9);
    if (i != k - 1) putchar('\n');
  }
  return 0;
}
