Part of 1984 Czech And Slovak Olympiad IIIA
Source: Czech and Slovak Olympiad 1984, National Round, Problem 2