PCK2013 Problem 7