#include #include using namespace std; string s,t;int n,m; int sa,sb,ta,tb; main() { cin>>n>>m>>s>>t; for(int i=0;i