a = [1, 2, 4 , 6, 7, 8, 9]

x = a[2]
y = a[-2]

print type(a)
print type(x)

b = a[0:2]
print type(b)
print b

print a[2:]
print a[:2]
print a[1:-1]

print a[-100:9]
print a[:100]
print a[4:1]

print a[100]
