A company rents out 19 food booths and 30 game booths at the county fair. The fee for a food booth is $100 plus $9 per day. The fee for a game booth is $50 plus $8 per day. The fair lasts for d days, and all the booths are rented for the entire time. Enter a simplified expression for the amount, in dollars, that the company is paid.