The lottery has long been one of the most popular forms of gambling worldwide. Traditionally,…