\section*{Task 1 - 151021}

Before the start of a horse race, spectators discuss the possible finish of the three favorites A, B, and C.

Spectator (1): "A or C will win."

Spectator (2): "If A finishes second, B will win."

Spectator (3): "If A finishes third, then C will not win."

Spectator (4): "A or B will finish second."

After the race, it turned out that the three favorites A, B, and C indeed took the first three places, and that all four statements were true.

What was the finish order?
}

From statement (1), it follows that either A or C wins; in no case, however, B. This means that from (2), A will not come in second, as this would otherwise contradict (1) and B would have to win.

Since (3) holds, it follows from A being third that C does not win and thus B would be the winner, in contradiction to (1). Therefore, A can only take first place.

According to statement (4), B is then second and consequently C is third. The finishing order is thus A-B-C.