import random
list1=[]
list2=[]
list3=[]
for i in range(50):
    a=int(random.randrange(-10,10))
    list1.append(a)
print(list1)
if list1[a]>0:
    list2=list1
    list2.append(a)
     print(list2)
elif list1[a]<0:
    list3=list1
    list3.append(a)
     print(list3)