#include using namespace std; int64_t DP[5002]; int main(){ string S; cin>>S; int64_t ans = 1; DP[0]=1; for(int i=0;i