#include
#include
using namespace std;
int main(){
int n;
int m;
cin>>n>>m;
int* array = new int[m*n];
int i,j;
for(i=0; i>array[i];
int max = -1;
int col = 1;
for(j=0; j
#include
#include
using namespace std;
int main(){
int n;
int m;
cin>>n>>m;
int* array = new int[m*n];
int i,j;
for(i=0; i>array[i];
int max = -1;
int col = 1;
for(j=0; j