Dan has $ 31. He bought a candy bar for $ 5 and a chocolate for $ 17. How much money is left?
Dan has $31. 
He buys a candy bar for $5. 
That leaves him with $26. 
He buys a chocolate for $17. 
That leaves him with $9.