One simple suggestion: 1. build an array of tuples containing the exact amount of As, Bs and Cs you want in your series: {A,_} {A,_} .......
Separate names with a comma.