#include using namespace std; int UA,UB,DA,DB; signed main(){ int N,M; string S,T; cin>>N>>M; cin>>S>>T; for(int i=0;i