Spadework 2020. 2. 24. 18:00

* Solved 기준 브론즈2 단순 풀이

input(); l = list(map(int, input().split()))
print(max(l)-min(l))