Two sequence are in x and y. I choose A and B and extract (and put in z) the values
of x such that the corresponding values of y are included between A and B

<= y <=     x separated by "," ↑   -   y separated by "," ↓        

z: output ↓

examples