a = [1,5,23,2,41,32]
print(a)
print(a.pop())
print(a)
print("\n\n\n\n")
a = [1,5,23,2,41,32]
print(a)
for i in range(0,len(a)) :
    print("{}번째 a.pop() : {}".format(i+1,a.pop()))
print(a)
print("\n\n\n\n")

a = [1,5,23,2,41,32]
print(a)
print("a.pop(3) :",a.pop(3))
print(a)
