Walter White and Jesse are famous all over the Albuquerque for making "blue crystals". Gustavo has now hired both of them to synthesize the product at his secret lab.
Being their boss, he records the quality of the product they make at the end of each day. Qualities are integers (both positive & negative numbers). On ith day, the quality of the product is Ai.
A variation is difference between qualities of product on any two days.
Gus has a quality record of N days. Now he needs to find out absolute value of maximum variation in quality obtained between any two days in his record.
"I like to think I see things in people. "
Can you help Gus Fring ?
INPUT
OUTPUT
CONSTRAINTS
In 2nd test case
All possible variations -
9-6=3
6-0=6
9-0=9
Maximum Variation= 9
Absolute Value=|9|=9