Part of 1983 Czech and Slovak Olympiad III A
Source: Czech and Slovak Olympiad 1983, National Round, Problem 5