#include using namespace std; using ll=long long; const int N=1e7+5; const ll INF=1e18; bool Mst; ll ans; int n; string S,T; int s[N],t[N]; bool tag[N],gt[N]; void solve(){ cin>>n; cin>>S>>T; for(int i=0;i>sub>>T; int T=1; while(T--)solve(); return 0; }