Problem Description

Array diya hai. Print (maximum - minimum).

Input Format

One line: n then n integers.

Output Format

One integer difference.

Sample Test Case

Input:
5 10 4 99 -2 7
Output:
101

Constraints

1

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next