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