There were some cupcakes in a bakery. First, Jade ate half of the cupcakes. Then, Neil ate half of the remaining cupcakes. Finally, Terry ate $6$ cupcakes and there were $$2$$ cupcakes left. At beginning, how many cupcakes were there in the bakery? 
选项为:A:$$24$$  B:$$32$$  C:$$48$$  D:$$12$$  请回答其中一个选项.