ll@(N,M,K);int**A,*B;walloc2d(&A,M,N),walloc1d(&B,N);rep(i,M){string@s;rep(j,N)A[i][j]=s[j]-'0';}wt(1LL<