Denise and Gabe met for dinner in downtown Belmont. Denise did flat-rate valet parking for $20. Gabe went to another valet and paid $4 up front and $4 for every hour, including the first hour. Ultimately, the friends ended up paying the same amount. How long did they stay? How much did each one pay?