cc150: solution to 9.1
cc150: solution to 9.2