
Rather than subtracting 1 from A three times, be could try to subtract 1 and 2. We know that when we add 1 to B, we will summon a red ball. Rather than wasting it to trigger a new blue, we could use it to subtract 2. Blue now only has 2 jobs to do (subtract 1 from A and add 1 from B) so a single bit is sufficient.!