#include #include #include using namespace std; typedef long long ll; ll mod = 924844033,dp[3000010][2] = {}; vector v,u; int main(){ string s; cin >> s; int i,n = s.size(); v.push_back(-1); for(i=0;iu[i - 1]) (dp[i][1] += ((u[i] + 1LL))*dp[i - 1][0]%mod) %= mod; dp[i][0] = (dp[i - 1][1] + dp[i - 1][0])%mod; } /*for(i=0;i