A homeowner took out a 20-year, fixed-rate mortgage of $350,000. The mortgage was taken out 10 years ago at a rate of 5.40 percent. If the homeowner refinances, the charges will be $2,500. What is the highest interest rate at which it would be beneficial to refinance the mortgage?