Shen will rent a car for the weekend. He can choose one of two plans. The first plan has an initial fee of $57.98 and costs an additional $0.14 per mile driven. The second plan has an initial fee of $49.98 and costs an additional $0.18 per mile driven. How many miles would Shen need to drive for the two plans to cost the same?