Files

3 lines
67 B
Python

input()
A = list(map(int, input().split() ) )
print(min(A), max(A))