The dispersion of a sequence of measurements is defined as the difference between the largest and the smallest value.
The first line of the input contains a number of measurements $$n \in \mathbb{N}$$, where $$n \geq 1$$. After that $$n$$ lines follow with a measurement $$m \in \mathbb{R}$$ on each line.
The dispersion of the measurements.
Input:
3
3.14
1.41
2.72
Output:
1.73