>>1
p = [0,1]
q = [2,3]
を
r = [0,2,1,3]
にまとめたい、、、