The lottery is one of the oldest forms of gambling. Typically, the participants are randomly chosen from a hat. The winner of a lottery is determined by the number of tickets sold, and the winner of each drawing is the person whose ticket has the highest total prize. Some governments regulate lotteries, while others outlaw …