A truck can be rented from Company for 50 dollars a day plus 0.50 per mile. Company B charges 30 dollars a day plus 0.90 per mile to rent the same truck. Find the number of miles in a day at which the rental costs for company A and company B are the same.