Lottery winners are selected at random using a secure computerized system. This system selects winning numbers based on game matrix…