According to the rules of a chess match, the winner is declared to be the one who has beaten their opponent by two defeats. Draws do not count. The probability of winning for both rivals is the same. The number of successful games played in such a match is random. Find its mathematical expectation.