l=list(map(str,input().split()))
l.append('kbc')
print(l)
l.extend(['1','2'])
print(l)
l.insert(5,'a')
print(l)
print(l.pop())
print(l)
l.remove('hi')
print(l)
l.sort()
print(l)
print(len(l))
print(min(l),max(l))
t=tuple(l)
print("tuplecount",t.count('a'))
print("tupleindex",t.index('a'))
print(len(t),min(t),max(t))
