Question 832850
12,342 ways.   I did it with a computer program.