A lottery is a game of chance in which participants invest a small amount for…