Two Stack Problem Leetcode Python Compiler