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,_}
.... required amount of As
{B,_}
... required amount of Bs
{C,_}
... required amount of Cs
2. go over the array and replace each tuple's _ with a...