Part of 1988 Czech And Slovak Olympiad IIIA
Source: Czech and Slovak Olympiad 1988, National Round, Problem 5