Question: After paying 6 dollars for the pie , Mary has 52 dollars , her friend has 43 dollars. she had _____ dollars before buying the pie .
Answer: 58