from collections import deque
list = [1, 2, 3, 4, 5]
print(list[len(list) - 1])
list.pop(0)
print(list)

790bed6d87505e3afdc004c48ec75815d8bac6fe
<mask token>

<mask token>
print(list[len(list) - 1])
list.pop(0)
print(list)

<mask token>
list = [1, 2, 3, 4, 5]
print(list[len(list) - 1])
list.pop(0)
print(list)

from collections import deque
list = [1, 2, 3, 4, 5]
print(list[len(list) - 1])
list.pop(0)
print(list)
