Stack Implementation Using Queue In Python