Agnĳo has half as many apps as Sam who has a third as many apps as Naomi. Altogether, they have $$180$$ apps. How many apps does Sam have? 
选项为:A:$$20$$  B:$$30$$  C:$$40$$  D:$$60$$  E:$$90$$  请回答其中一个选项.