#!/usr/bin/python

from Solution import Solution
obj = Solution()

A = 2
B = [[0,1],[1,0]]
out = obj.findOrder(A, B)
print(out)

#!/usr/bin/python

from Solution import Solution
obj = Solution()

A = 2
B = [[0,1],[1,0]]
out = obj.findOrder(A, B)
print(out)

#!/usr/bin/python