Enter the letters from 'A' to 'C' into the diagram, so that in every row every letter occurs exactly once. The letters at the borders indicate the letter that comes first in the shown direction.
In the example, only the letters A and B are used.