#include using namespace std; int n,a[25][25],f[(1<<24)],b[25]; int main() { cin>>n; for(int i=0;i>a[i][j]; for(int i=3;i<(1<