This repository has been archived on 2021-10-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/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))
|
|
|