#include #include #include using ll = long long ; using namespace std; int main(){ string str; map m; ll ans=0,p=0; cin >> str; ll len = str.size(); m[0] = 0; for(ll i=0;i