You are given an array A consisting of N integer values. Find an integer K such that the value of the following function is minimized:
If multiple such K exist, then print the minimum possible value of K.
Input format
Output format
For each test case, print the value of K in a new line.
Constraints
1≤T≤101≤N≤1051≤A[i]≤1018
For K = 4 ,
5 is the minimum possible value of function, attained when K = 4.