* Line 1: Three space-separated integers N, M, K
* Line 2: A string N characters. If the ith character is 'T' it means Bessie will select the top 2 cards in the ith round. Otherwise the ith character will be 'B' to indicate Bessie will select the bottom 2 cards in the ith round.
* Lines 3..2+N: Each line contains eight integers representing the 8 cards to be used that round from top to bottom.