output_description: Print the minimum value, maximum value and sum in a line. Put a single space
  between the values.
input_description: In the first line, an integer $n$ is given. In the next line, $n$ integers
  $a_i$ are given in a line.
attempt: n = int(input())
  numbers = input().split()
  min_n = int(numbers[0])
  max_n = int(numbers[0])
  sum_n = int(numbers[0])
  for i in range(1, n):
      sum_n = sum_n + int(numbers[i])
      if min_n > int(numbers[i]):
          min_n = int(numbers[i])
      if max_n < int(numbers[i]):
          max_n = int(numbers[i])
  print("{0} {1} {2}".format(min_n, max_n, sum_n))
  
problem_description: Min, Max and Sum
  
  Write a program which reads a sequence of $n$ integers $a_i (i = 1, 2, ...
  n)$, and prints the minimum value, maximum value and sum of the sequence.
samples: [{"input": "10 1 5 4 17", "output": "17 37"}]