Added Problem 39