#1723682
#David van Vliet

numlist = [3, 7, -2, 14]

max_val = max(numlist)
min_val = min(numlist)

max_pos = numlist.index(max_val)
min_pos = numlist.index(min_val)
difference = max_val - min_val
print(difference)

