Q:

Get list with special number in Lisp

I'm new to Lisp and I need to make function than can return second value of sublist which containts special number. 
For example, I have function with two arguments: one of them is list with sublists and second is my special number which I'm going to search: 
 (find_neighbours '((1 2) (3 1) (4 5) (9 1) (2 3) (1 5)) 1)

That function should return something like that:
(2 3 9 5)

Because we have sublists with 1 inside (1 2) (3 1) ....
Here is my solution: 
(defun find_neighbours (lst node)
    (if lst
        (cond 
            ((= node (caar lst))  
                (cons (cadar lst) 
                (find_neighbours (cdr lst) node))
            )
            ((= node (cadar lst)) 
                (cons (caar  lst) 
                (find_neighbours (cdr lst) node))
            )
            (T (find_neighbours (cdr lst) node))
        )
    )
)

A:

I solved my problem this way:
(defun find_neighbours (lst node)
    (if lst
        (cond 
            ((= node (caar lst))  
                (cons (cadar lst) 
                (find_neighbours (cdr lst) node))
            )
            ((= node (cadar lst)) 
                (cons (caar  lst) 
                (find_neighbours (cdr lst) node))
            )
            (T (find_neighbours (cdr lst) node))
        )
    )
)

