the house always wins: there IS no 'profit'!
It was a para-mutual payout. The house take was a fixed percentage of the gross. If people picked 787 one hundred times less frequently than 312, the payout on 787 would be a hundred times higher than the payout on 312.