#include using namespace std; int main(){ string S; cin>>S; int size=S.size(); bool frag; int count=0; for(int i=0;i