#include <iostream> using namespace std; int main(){ int n; cin >> n; int tp = 2; while(tp < 1e4){ cout << tp << endl; tp += n; } return 0; }