25 lines
313 B
Python
25 lines
313 B
Python
|
#!/usr/bin/env python3
|
||
|
|
||
|
import sys
|
||
|
|
||
|
def minimum(a):
|
||
|
l = len(a)
|
||
|
|
||
|
if l == 0:
|
||
|
return None
|
||
|
|
||
|
m = a[0]
|
||
|
for i in range(1, l):
|
||
|
if a[i] < m:
|
||
|
m = a[i]
|
||
|
|
||
|
return m
|
||
|
|
||
|
if __name__ == "__main__":
|
||
|
A = []
|
||
|
for line in sys.stdin:
|
||
|
A.append(int(line))
|
||
|
|
||
|
print(minimum(A))
|
||
|
|