You are given a sequence consisting of integers. You must choose a index and replace by an integer exactly once. Determine if you can rearrange to form an arithmetic sequence or not.
Note that 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: