There were some pieces of candy in a bowl. Sally took half of the pieces of candy. Then Tom took half of the pieces left in the bowl. After that, Clara took half of the remaining pieces. In the end, there were $$6$$ pieces of candy left in the bowl. How many pieces of candy were in the bowl at the beginning? 
选项为:A:$$12$$  B:$$18$$  C:$$20$$  D:$$24$$  E:$$48$$  请回答其中一个选项.