a=[]
b=int(input("enter the size of the list: "))
for i in range(b):
    c=int(input("enter the number: "))
    a.append(c)
    a.sort()
t=len(a)
q=t//2
if(t%2!=0):
    y=(q+1)
    p=a[y-1:y]
    print(p)
else:
    e=a[q-1:q+1]
    f=(sum(e)/2)
    print(f)
    

63361b677e3f9da99e936021283bb2e26b04e41c
<mask token>

<mask token>
for i in range(b):
    c = int(input('enter the number: '))
    a.append(c)
    a.sort()
<mask token>
if t % 2 != 0:
    y = q + 1
    p = a[y - 1:y]
    print(p)
else:
    e = a[q - 1:q + 1]
    f = sum(e) / 2
    print(f)

a = []
b = int(input('enter the size of the list: '))
for i in range(b):
    c = int(input('enter the number: '))
    a.append(c)
    a.sort()
t = len(a)
q = t // 2
if t % 2 != 0:
    y = q + 1
    p = a[y - 1:y]
    print(p)
else:
    e = a[q - 1:q + 1]
    f = sum(e) / 2
    print(f)

a=[]
b=int(input("enter the size of the list: "))
for i in range(b):
    c=int(input("enter the number: "))
    a.append(c)
    a.sort()
t=len(a)
q=t//2
if(t%2!=0):
    y=(q+1)
    p=a[y-1:y]
    print(p)
else:
    e=a[q-1:q+1]
    f=(sum(e)/2)
    print(f)
    
