Replace car/cdr with first/rest