#pragma GCC optimize("Ofast") #pragma GCC target("avx2") main(){ int a=0,s; while(s=getchar()-49,s>=0){ a+=1<>1|c>>2)&73?c&7?1:c>>3:c-73; }while(c>1); o*=c; } } if(!(o|b&b>>2&0111111111)){ printf("%d\n",t+1); } } }