Problem 3 defined