#include using namespace std; int i,j,n,m,Max; char a[105][105]; inline void fill(int x,int y,int p) { if(p>Max) Max=p; a[x][y]='&'; if(x