third problem of the first homework