Multiple Stack And Queue In Python Program