Answered the second problem of the second puzzle.