Re-adding third problem with working solution.