Part of 1979 Czech And Slovak Olympiad IIIA
Source: Czech and Slovak Olympiad 1979, National Round, Problem 6