There were $20$ ducks, pigs, and sheep in total in Sam\textquotesingle s farm. After Sam bought some new sheep, the number of sheep has doubled. There are $27$ ducks, pigs, and sheep in total. Originally, how many ducks and pigs were there? 
选项为:A:$$6$$  B:$$7$$  C:$$10$$  D:$$14$$  E:$$16$$  请回答其中一个选项.