You are given a sequence a=(a1,a2,…,aN) consisting of N integers. You must choose a index i and replace ai by an integer k≠aiexactly once. Determine if you can rearrange a to form an arithmetic sequence or not.
Note that a is an arithmetic sequence if and only if all differences between any two consecutive elements are the same.
Input Format
Output Format
Constraints
In the second test case:
In the third test case: