EasyRating 800
Spread
Print the difference between the largest and smallest numbers.
Input
n, then n integers.
Output
A number.
Sample 1
Input
5 3 9 1 4 7
Output
8
Sample 2
Input
1 42
Output
0
Output appears heren, then n integers.
A number.
5 3 9 1 4 7
8
1 42
0
Output appears here