You are on your way to visit your grandma, and you have to cross seven bridges, each with a troll under them. You want to give your grandma two cakes. Whenever you cross a bridge, you must pay the troll half of your cakes. As he is nice, he will give you back one cake.
How many cakes should you head out of the house with?