A matrix is given of V × K format filled in some way with numbers 1, 2, 4, 8. Determine the number of submatrices 2 × 2 format in which all elements are different. Input: In