Added print for the requested answer, not just the triplet for problem 9