Community Gym charges a $50 membership fee and a $60 monthly fee. Workout Gym charges a $180 membership fee and a $50 monthly fee. After how many months will the total amount of money paid to both gyms be the same? What will the amount be?

After __ months the amount paid to both gyms will be $__.