Jim and Jesse each had the same amount of money. Jim spent 58$ to fill the car up with gas for a road-trip. Jesse spent 37$ buying snacks for the trip. Afterward, the ratio of Jim's money to Jesse's money is 1:4. How much money did each have at first?