A cellular service plan for Company A has unlimited minutes for $40/month and a text message rate of $0.10/message. A cellular service plan for Company B has unlimited minutes for $30/month and a text message rate of $0.10/message. At what number of text messages will the total monthly cost for each of the two companies be equal?