It is a follow up to my previous question here The only difference is 12 digits numbers are picked from 14 numbers.
Thanks to many great people, I have understood how to solve the previous question.
However, if I am to pick 12 numbers out of the total 14 numbers, many new cases emerge when I having 0, or 2, or 4 in the end there are a different number of them left to be choose, I cannot just simply remove the repetitive case using division. What can I do?