#include #include #include using namespace std; typedef long long ll; const ll maxn=100005; const ll mod=9973; ll sum[maxn],inv[maxn],re[maxn]; char s[maxn]; int main() { inv[1]=1; for(int i=2;i