파이썬 알고리즘

백준 10818

나미-IT 2022. 1. 22. 07:58
#백준 10818 
n = int(input())
lst = []
lst = list(map(int,input().split()))
print(min(lst),max(lst))

 

백준 10818