A Method for Winning at Lotteries