The concept of the lottery has been around for centuries, dating back to ancient civilizations, where it was used to distribute prizes or allocate resources. Over time, it evolved into the widely recognized format we know today: people purchasing tickets for a chance to win large sums of money. However,…