A woman sells to the first customer half her stock and half an apple, to the second customer half her remaining stock and half an apple, and so on to a third and fourth customer. She finds she has 15 apples left. How many apples did she have originally?