Sofia wants to rent an apartment. She visits Apartment A which charges $100 for a one-time deposit and $400 per month for rent. She also visits Apartment B which charges $500 for a deposit, but only charges $350 per month in rent. Write and solve an inequality that shows how many months it would take for the total paid to be less for Apartment B.