add the third problem definition
third problem solved