#include int main(void) { int aaa,aab,ab,be,i,j; int ac=1; int bb[10]={1}; int bd[10]={0}; scanf("%d %d",&aaa,&aab); ab=aab; do{ ab=ab/10; ac++; }while(ab>10); for(i=1;i<=ac-1;i++){ bb[i]=bb[i-1]*10; } for(j=aaa;j<=aab;j++){ scanf("%d\n",&j); be=0; bd[0]=j/bb[ac-1]; if(bd[0]==3)be++; for(i=1;i