def ReadSeqInteger(ln: int, promt: str = None):
if (promt != None):
print(promt)
temp = []
for _ in range(ln):
temp.append(int(input()))
return temp;
def main():
a = ReadSeqInteger(int(input("Enter Count of numbers:\n")), "Enter values:\n")
a.sort()
print(a[-3])
main()
def ReadSeqInteger(ln: int, promt: str = None):
if (promt != None):
print(promt)
temp = []
for _ in range(ln):
temp.append(int(input()))
return temp;
def main():
a = ReadSeqInteger(int(input("Enter Count of numbers:\n")), "Enter values:\n")
a.sort()
print(a[-3])
main()