l=[1,2,3,10,56,23,87,4,5,6,7]
print(l[0:3])
print(l[::-1])
print(l[-1::])
l.append(8)
print(l)
l.pop()
print(l)
l.sort()
print(l)
l.reverse()
print(l)
l1=[2,3,4,[2,4,6,8],7]
print(l1[3])
l2 = ['manish','ashish''nitesh']
print(l2[0])
print(min(l))
print(max(l))

