A health insurance plan has a $50 enrollment fee and a copayment of $5 for each doctor visit. The function f(x)=5x+50 gives the cost of x doctor visits. What is the cost for visiting the doctor 3 times?