Text Game with Stacks and Queues