Solving Problem 48