miniOrange interview question

Extract 3/3 matrix from any 6/8 matrix whose sum is maximum