Problems 116 and 117 solved.