How do you answer question 25?

25. Henry plays a game in which a coin is tossed 10 times. If it comes up heads then an extra half is added to his money. If it comes up tails then his money is halved. If starting with $5120 Henry gets exactly 5 heads out of 10 tosses then what is the maximum amount of money he can end up with?