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