from stack import Queue
# s = Stack() #
# s.push(32)  # 32
# s.push(7)   # 7 32
# d = s.pop() # 32 and d holds 7
# s.push(d)   # 7 32
# s.pop()     # 32


q = Queue()     # []
q.enqueue(32)   # [32]
d = q.dequeue() # []
print(d)      # 32
q.enqueue(32)   # [32]
q.enqueue(7)    # [32 7]
d = q.dequeue() # [7] d = 32
print(d)
q.enqueue(32)   # [7 32]
a = q.peek()    # 7 32 and a holds 32
print(a)
print(q.size())
d = q.dequeue()
dd = q.dequeue()

print(d)
print(dd)


for i in range(0,10):
    q.enqueue(i)
    
print(q.size())

for i in range(q.size()):
    print(q.dequeue())
    