#include using namespace std; typedef long long ll; int main() { int n,m; cin>>n>>m; char ch; cin>>ch; ll a[m], b[n]; for(int i=0;i>a[i]; for(int i=0;i>b[i]; for(int i=0;i