That problem is easily solved as well! Just let everybody put in a deposit for a ticket ahead of time and select the lucky winners by lottery. Anybody who doesn't win gets their money back.
The point is to get the tickets to the people who want them the most. I think a lottery does a poor job of that.