#include #include using namespace std; string s; main() { cin>>s; s+="00"; vectorT; int cnt=1; for(int i=1;i1; while(i+21; } ans+=flag?cnt+2:cnt+1; } cout<