ll@n,a=1,b=1,z=0; string@s; rep(i,n){ int x=s[i]&1; if(!a|!b&&!x){ x=1; ++z; } a=b; b=x; } wt(z);