The Smartest Way to Sell Tickets Online