#include<bits/stdc++.h> using namespace std; int main (){ int i; cin>>i; for( i=3;i<=100;i=i+3){ cout<<i<<" "; } return 0; }