#include using namespace std; typedef long long ll; int main() { string s; cin>>s; map mp; int a=0; int ans=0; mp[0]=-1; for (int i=0;i