a=[]
b=int(input("value of N"))
count=0
for count in range(0,b):
    i=int(input("Enter the number:"))
    a.append(i)
    del i
    count+=1
a.remove(min(a))
print(min(a))
    

41a9026474620d1f9d33ea76233cf7effac361e1
<mask token>

<mask token>
for count in range(0, b):
    i = int(input('Enter the number:'))
    a.append(i)
    del i
    count += 1
a.remove(min(a))
print(min(a))

a = []
b = int(input('value of N'))
count = 0
for count in range(0, b):
    i = int(input('Enter the number:'))
    a.append(i)
    del i
    count += 1
a.remove(min(a))
print(min(a))

a=[]
b=int(input("value of N"))
count=0
for count in range(0,b):
    i=int(input("Enter the number:"))
    a.append(i)
    del i
    count+=1
a.remove(min(a))
print(min(a))
    
