A lottery is a system of distribution of prizes by chance. It involves paying a small amount for a chance to win a large sum of money. Some governments outlaw lotteries while others endorse them and regulate them to some extent. The drawing of lots to determine ownership or other rights is recorded in many…