A matrix with 0 and 1, 1 for fire and 0 for no fire. When a person puts out a fire, each time the fire is extinguished, the 1 in the same row and column becomes 0. Find the index of all the cell where you will put out fire such that the total number of such index is the minimum.