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