You are planning a 9 day trip to Texas. It will cost approximately $350 per day in Houston and $400 per day in San Antonio. If your budget for the trip is $3400, how many days can you spend in each place?