Hint: Find the determinant and the adjoint first to get the inverse
Input Arguments:
1) Size of the matrix
2) Each element of the matrix one-by-one
Output:
1) The entered matrix
2) The calculated inverse of the entered matrix