코딩테스트

구현14.백준10818번 최소,최대

Giant Oreo 2021. 5. 6. 13:44

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