Part of 1990 Czech and Slovak Olympiad III A
Source: Czech and Slovak Olympiad 1990, National Round, Problem 3