virginia , adrienne , and dennis have taught history for a combined total of 96 years . if virginia has taught for 9 more years than adrienne and for 12 fewer years than dennis , for how many years has dennis taught ?