# Stack:
s = []
s.append(5)
s.append(7)
s.append(12)
s.append(14)
print(s[-2])

# value = s.pop()
# print(value) #stack is like a bunch of books, the last value is on the top


# # Queue:
# import queue
 
# q = queue.Queue()

# q.put(5)
# q.put(7)
# q.put(3)

# print(q)
# # value = q.queue[0]
# # print(value)
