used for 3-3
set of stacks, pop at index