#include int M[110][110]; int n,m,k; using namespace std; int main() { int i,j; cin>>k>>n>>m; if(n