from collections import deque

def my_q(n):
    q = deque()
    for i in range(0,n):
        q.append(input("put stuff in q\n"))


    print(q)

    for i in range(0,n):
        print(q.popleft())


my_q(5)

deeb88b6d7cef7e0266660a1783ed7c370184b87
<mask token>

<mask token>


def my_q(n):
    q = deque()
    for i in range(0, n):
        q.append(input('put stuff in q\n'))
    print(q)
    for i in range(0, n):
        print(q.popleft())


<mask token>

<mask token>


def my_q(n):
    q = deque()
    for i in range(0, n):
        q.append(input('put stuff in q\n'))
    print(q)
    for i in range(0, n):
        print(q.popleft())


my_q(5)

from collections import deque


def my_q(n):
    q = deque()
    for i in range(0, n):
        q.append(input('put stuff in q\n'))
    print(q)
    for i in range(0, n):
        print(q.popleft())


my_q(5)

from collections import deque

def my_q(n):
    q = deque()
    for i in range(0,n):
        q.append(input("put stuff in q\n"))


    print(q)

    for i in range(0,n):
        print(q.popleft())


my_q(5)
