label( [ 0, B - 1 ],
$.ngettext("Draw %(num)s circle.", "Draw %(num)s circles.", A),
"right", false );
drawRow( A, B - 3, "#6495ED", 1 );
if (isSingular(A)) {
label( [ 0, B - 2 ],
$.ngettext(
"If there is %(num)s row with %(a)s circle, <br> there are a total of how many circles?",
"If there are %(num)s rows with %(a)s circle each, <br>there are a total of how many circles?",
B, {a: A}), "right", false );
} else {
label( [ 0, B - 2 ],
$.ngettext(
"If there is %(num)s row with %(a)s circles, <br> there are a total of how many circles?",
"If there are %(num)s rows with %(a)s circles each, <br>there are a total of how many circles?",
B, {a: A}), "right", false );
}
for ( var i = 1; i < B; i++ ) {
drawRow( A, B - 3 - i, "#28AE7B", A * i + 1 );
}