There are 2 shirt companies that Josie is considering using to make t-shirts for her team. Company A charges a $20 shipping fee and $8.50 per shirt. Company B charges a $15.50 shipping fee and $10 per shirt. For what number of shirts will both companies cost the same? How much will they cost?