GBU's Programming Club takes things seriously so they decide to create an eligibility test for candidates who are willing to join Programming Club. Your task is to sort the given 3 X 3 square matrix in ascending order row-wise and find its inverse.
Input:
Constraints:
-109 ≤ matrix[i][j] ≤ 109
Output:
Print the inverse of the matrix.
Author:
Aayush Agrawal
Testers:
Aayush Agrawal
Anubhav Singh