A lottery is a game of chance in which participants pay an entry fee and are given a small probability of winning a prize. This process is often used in situations where resources are limited, such as in the allocation of units in a subsidized housing block or kindergarten placements. In addition, it is sometimes…