problem about stacks