# include<iostream> using namespace std; int main(){ int i; cin>>i; for(i;i<=100;i++){ if(i%3==0){ cout<<i<<endl; } } return 0; }