4
11
512
4
7000
34
32
3526
23
3
-110
-200
with open('input.txt', "r", encoding='utf8') as inputer:
a = int(inputer.readline())
b = a
for i in inputer:
if i[-1] == "n":
i = i[0:-2]
#print(type(i))
i = i.strip()
#print(i,type(i))
if i.isdigit():
#print(i)
i = int(i)
if a < i:
a = i
if b > i:
b = i
print(i)
else:
print(i)
print(a,b)