Ashley had a basket of apples. Her family took half of the apples after dinner. Next morning, her family took half of the remaining apples. There were $$2$$ apples left in the basket. How many apples were in the basket at first? 
选项为:A:$$4$$  B:$$6$$  C:$$8$$  D:$$11$$  E:$$16$$  请回答其中一个选项.