Implemented Problem 33