John spent 12 dollars on lunch and an additional 5 dollars on a dessert. After lunch, he went to a clothing store and was contemplating buying a shirt. However, instead of the $26.00 shirt he bought previously, he decided to buy a more expensive shirt that costs $49. What would be the total amount of money spent in this scenario?