The following languages are only available languages for the problems from the contest

VK Cup 2016 - Wild Card Round 1 (Unofficial Open Online Mirror):

- J

No tag edit access

D. Maximal Difference

time limit per test

2 secondsmemory limit per test

64 megabytesinput

standard inputoutput

standard outputYou are given an array of integers *a*_{i}. Find the largest absolute value of difference between adjacent elements of the array *max*(*abs*(*a*_{i} - *a*_{i + 1})).

Input

The only line of the input contains a list of space-separated integers *a*_{i} (1 ≤ *a*_{i} ≤ 100) — elements of the array. The size of the array is between 2 and 10, inclusive. Note that the size of the array is not given explicitly!

Output

Output a single integer — the largest absolute value of difference between adjacent elements of the array.

Examples

Input

2 10 4 8 6 12

Output

8

Input

3 3

Output

0

Codeforces (c) Copyright 2010-2019 Mike Mirzayanov

The only programming contests Web 2.0 platform

Server time: Oct/17/2019 22:33:33 (e1).

Desktop version, switch to mobile version.

Supported by

User lists

Name |
---|