A{% for X in L %}{% cycle "C" "B" %}{{ X }}{% endfor %}A