First, take out the ticket values that can be drawn from the competition schedule and judge whether there are any tickets left to be drawn.
If there is a label to draw, save the label in the hash table, declare a random object, let the random object randomly generate a value from the key of the hash table, and access the value of the hash table with the randomly generated key. Finally, don't forget to submit the database. This qvalue is a randomly selected symbol, string qvalue = (string) ht [random].