The only strategy I see is a simple one. B matches A’s first two selections and then selects the opposite for the third choice. For example, if A chooses HTH, B chooses HTT. This guarantees that B has a 50% chance of winning. It effectively reduces the game to a single toss of the coin.