Part of 1981 Czech and Slovak Olympiad III A
Source: Czech and Slovak Olympiad 1981, National Round, Problem 4