#include using namespace std; int m[112][112]; int main() { //freopen("test.in","r",stdin); int s=-1000000,n,a,b; scanf("%d",&n); for(int i=0;i