third problem
third problem