Sacha picked some apples from a tree in her garden. She then gave some to her friends. To her
first friend, she gave half the apples she had, plus 2 more. To her second friend, she gave half the apples she had left, plus 2 more. And she did the same thing for her third friend. After giving away all these apples, she had 1 apple left. Find how many apples she originally pick from the tree.