find_the_stack2

The is a follow-on to the first find_the_stack problem from ACSC5.  This was originally supposed to be the third one in a series of challenges based on this problem but I had some problems with number two so this became number two.