Lets do it the other way around
0 at the end
So 10 to leave fight 3 = you had 5$ when entering fight 3 cuz it dubbled.
You had to pay 10 to get in and 5 left to dubble inside so you had 15 before entering fight 3
15+10 you needed to pay to leave fight 2 = 25 when inside fight 2
25/2 as you dubbled the money in fight 2 = 12.5 +10 to enter fight 2 = 22.5 before entering fight 2
10 to leave fight 1 = 32.5. But you need to half that once inside 32.5 = 16.25
16.25+10 because you need to pay to enter fight one
= 26.25€ at the start