EasyRating 800
Biggest Jump
Readings were taken in order. Print the largest absolute change between two consecutive readings.
Input
n (n ≥ 2), then n integers.
Output
One integer.
Sample 1
Input
5 3 8 2 9 9
Output
7
Sample 2
Input
2 -5 5
Output
10
Output appears here