A phone company offers two monthly plans. Plan A costs $40 plus an additional $0.05 for each minute of calls. Plan B has no initial fee but costs $0.25 for each minute of calls. What is the cost when the two plans cost the same for a set number of minutes?