A lottery is a process of allocating prizes by chance. Prizes may be money, goods…