3 lines
67 B
Python
3 lines
67 B
Python
input()
|
|
A = list(map(int, input().split() ) )
|
|
print(min(A), max(A)) |
input()
|
|
A = list(map(int, input().split() ) )
|
|
print(min(A), max(A)) |