a=[12,23,12,3,4,5,14]
print(a)
a.pop()
print(a)
a.insert(2,1)
print(a)
a.remove(23)
print(a)
a.pop(1)
print(a)
print('sum of a is ',sum(a))
print(min(a),max(a))
a.extend([1 ,2 ,3])
print(a)
print(a[-1])
