# The input format could be # m k n # then just m*k + k*n number to represent the data # so the example in the project becomes 3 2 3 1 4 2 5 3 6 8 7 6 5 4 3