Alex had $76.  He spent some of it in a shop.  Then he gave half of what he had left to Charlie.  Charlie spent a quarter of what Alex gave him on lunch.  Charlie spent $9 on lunch.  How much did Alex spend in the shop? 
选项为:A:$4  B:$12  C:$14  D:$36  E:$40  请回答其中一个选项.