## Task A-1.2.

Anja and Vanja participated in a race. The number of runners who finished the race before Anja is equal to the number of runners who finished after her. The number of runners who finished the race before Vanja is three times the number of runners who finished after her. Exactly 10 runners finished the race between Anja and Vanja. If all runners finished the race, and no two runners finished at the same time, determine the total number of runners.
## First Solution.

From the conditions of the problem, it is clear that Anja arrived before Vana. Let $A$ be the number of runners who finished the race before Anja, and $B$ be the number of runners who finished after Vana.

The number of runners can be graphically represented as follows:

$$
A-\text { Anja }-10-\text { Vana }-B
$$

Then we have

$$
\begin{array}{ll}
A=10+1+B, & 2 \text { points } \\
A+1+10=3 B . & 2 \text { points }
\end{array}
$$

Solving this system, we get $A=22, B=11$.

1 point

In total, there were $A+B+12=45$ runners participating in the race.

1 point