output_description: Print the maximum absolute difference of two elements (with different indices)
  in A.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      N
      A_1 A_2 ... A_N
attempt: N = int(input().strip())
  A = map(int, input().strip().split())
  max_abs_sum = 0
  for i in range(len(A) - 1):
      for j in (i + 1, range(A)):
          if max_abs_sum < abs(A[i] - A[j]):
              max_abs_sum = abs(A[i] - A[j])
  print(max_abs_sum)
  
problem_description: Statement
  
  You are given an integer sequence A of length N. Find the maximum absolute
  difference of two elements (with different indices) in A.
samples: [{"input": "4\n    1 4 6 3", "output": "5\n    \n\nThe maximum absolute difference of two elements is A_3-A_1=6-1=5.\n\n* * *"}, {"input": "2\n    1000000000 1", "output": "999999999\n    \n\n* * *"}, {"input": "5\n    1 1 1 1 1", "output": "0"}]