How to Win Big in an Online Lottery