//
//  supercon.cpp
//
//
//  Created by Fourier Shuzaei on 2018/06/02.
//

#include "bits/stdc++.h"
using namespace std;
#define ri(a,b,c) for(int a=(b);a<(c);++a)
#define ll long long
#define rll(a,b,c) for(ll a=(b);a<(c);++a)

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);

    ll a,b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y,z;
    cin>>k;
  if(k<10)
    rll(i,1,k+1)cout<<i<<"\n";
  else{
    rll(i,1,10)cout<<i<<"\n";
    rll(i,2,k-7){
        cout<<(i*10-1)<<"\n";
    }















    cout<<(n-1)/(k-1)<<"\n";
}
