The <i>Hearthstone Masters Tour</i> is a tournament for the famous card-collecting game Hearthstone, consisting of live and online events hosted every year in which Masters Qualifiers winners, Hearthstone Grandmasters, and other invitees compete for massive prize money.
In the Hearthstone Masters Tour, players are paired to play against each other in the format of <i>Conquest</i>, which is also the main match format used in official Hearthstone tournaments. The rule of the format is described as follows.
<ol>
<li> Each player brings a specific number of decks, depending on tournament rules. </li>
<li> To begin playing a round, each player chooses one of their decks to battle the opponent with, with the deck choice hidden from the opponent. The decks chosen by each player must satisfy the following rules: </li>
<ol>
<li> Any deck that wins a game cannot be played again in the match; </li>
<li> Any deck that is defeated may be played again in the subsequent games. </li>
</ol>
Then a game is played by the two players using the chosen deck.
<li> The first player to win with all of their decks wins the match. </li>
</ol>
Now you are playing a match in some Hearthstone Masters Tour where each player brings $n$ decks and the decks are determined. You are given an $n$ by $n$ matrix $A$ where $A_{i,j}$ denotes the probability of winning a game if you choose the $i$-th deck and your opponent chooses the $j$-th deck.
You want to know, what is the maximum probability you will win the match, supposing your opponent knows your strategy and chooses the deck <strong>optimally</strong> in each round.