There were 3 dollars in Olivia's wallet. She collected 49 more dollars from an atm. After she visited a supermarket there were 49 dollars left. How much more money did she collect at the atm than she spent at the supermarket?
Olivia's wallet: 3 dollars

Olivia's wallet + ATM: 3 + 49 = 52 dollars

Olivia's wallet + ATM - supermarket: 52 - 49 = 3 dollars

ATM - supermarket: 49 - 3 = 46 dollars