Run ID:86383

提交时间:2024-07-24 20:17:49

i = int(input()) list1 = list(map(int, input().split())) n = max(list1) m = min(list1) s = n - m print(s)