A program to select lottery number under some specified laws.