>>> ar = [1, 2, 3, 4, 5]
>>> ar.append(ar.pop(0))
>>> ar
12: [2, 3, 4, 5, 1]
>>> ar.append(ar.pop(0))
>>> ar
13: [3, 4, 5, 1, 2]
>>> ar.append(ar.pop(0))
>>> ar
14: [4, 5, 1, 2, 3]
>>> ar.insert(0, ar.pop())
>>> ar
15: [3, 4, 5, 1, 2]
>>> ar.insert(0, ar.pop())
>>> ar
16: [2, 3, 4, 5, 1]
>>> ar.insert(0, ar.pop())
>>> ar
17: [1, 2, 3, 4, 5]