matrix := [ [0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,2,0,2,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0], [0,0,2,0,2,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0], [3,3,3,0,3,0,0,2,0,2,0,2,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0], [2,2,6,6,6,0,6,5,0,0,6,5,0,2,6,0,0,0,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0], [1,1,0,3,0,0,3,3,0,0,4,3,0,0,4,2,0,0,0,0,0,0], [0,0,4,4,4,0,4,3,0,0,3,3,2,0,3,0,2,2,0,0,0,0], [0,0,0,0,0,0,0,0,0,0,0,0,5,0,0,0,0,0,0,0,0,0], [0,0,6,1,6,0,1,5,0,0,6,5,3,0,6,0,0,3,2,0,0,0], [0,0,5,0,5,0,0,5,0,0,0,5,2,0,0,0,0,2,0,2,0,0], [5,5,1,6,1,0,6,4,0,0,1,4,2,0,1,0,0,2,0,0,2,0], [0,0,5,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2] ]*Z(7);