How to Buy Lottery Tickets