#include int main(void){ int a,b,i=0; scanf("%d%d",&a,&b); for(i=a;i<=b;i++){ if(i%3==0){ printf("%d\n",i); } else i++; } }