#q1
a=[]
b=input("enter a")
a.append(b)
print(a)

#q2
b=['google','apple','facebook','microsoft','tesla','apple']
a.append(b)
print(a)


#q3
print(b.count("apple"))

#q4
b=[6,2,1,5]
b.sort()
print(b)

#q5
a=[6,7,2,8]
b=[9,1,3,4]
c=a+b
c.sort()
print(c)

#q6
l=[1,2,3,4,5]
l.append(6)
print(l)
l.pop()
print(l)