#include #define ll long long const ll mod =1e9+7; using namespace std; string s; ll POW(ll a,ll b){ ll sum=1; while(b){ if(b&1) sum=(sum%mod*a%mod)%mod; a=(a%mod*a%mod)%mod; b>>=1; } return sum; } int main(){ ios::sync_with_stdio(false); ll a;cin>>a; cin>>s; ll ans=0; ll sum=0; for(int i=0;i