Apartment A has a security deposit of $1000 and cost $1200 each month. Apartment B has a $1500 security deposit and cost $1175 each month. How many months will it take for the costs to be the same?