#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(ll i=0;i> N >> S >> T; t=T; reverse(t.begin(),t.end()); int c=0,d=0,ans=0; for(i=0;i