Daniel raises some ducks and dogs. All the ducks and dogs have $18$ legs and $5$ pairs of wings in total. If all the ducks and dogs each lifts one leg off the ground, they lift~\uline{~~~~~~~~~~}~legs in total. 
选项为:A:$$18$$  B:$$13$$  C:$$9$$  D:$$7$$  E:$$5$$  请回答其中一个选项.