At the book store, Dan bought 14 books about the Civil War, and 8 magazines about Abraham Licoln. if each book cost $13 dollars and magazines cost $6 dollars, how much did Dan spent