PCK2013 Problem 5