You want to rent a television. Company A charges $25 per week plus a one-time fee of $52. Company B charges $37 per week plus a one-time fee of $16. After how many weeks are the total costs the same at both companies?