Problems 27, 35 and 40 solved.