#include #include using namespace std; using ll=long long; using ld=long double; using vll=vector; using pll=pair; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); ll A,B; cin>>A>>B; for(int x=A;x<=B;++x){ ll i=x; if(i%3==0){cout<0){ if(i%10==3){good=true;break;} i/=10; } if(good)cout<