#include using namespace std; int main() { int y,x; scanf("%d%d",&y,&x); int a[x][y],same=0; for(int i=0;i