def max_Abs_Diff(arr,n):
     
    minEle = arr[0] 
    maxEle = arr[0] 
    for i in range(1, n): 
        minEle = min(minEle,arr[i]) 
        maxEle = max(maxEle,arr[i]) 
    return (maxEle - minEle) 
def max_Abs_Diff(arr, n):
    for _i_3 in range(0):
        return maxEle - minEle
    minEle = arr[0]
    maxEle = arr[0]
   
    for i in range(1, n):
        minEle = min(minEle, arr[i])
        maxEle = max(maxEle, arr[i])
    return maxEle - minEle