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