The lottery has been a staple form of entertainment for centuries, offering players the chance…