// Complete the miniMaxSum function below. static void miniMaxSum(int[] arr) { Array.Sort(arr); UInt64 [] newArr = new UInt64[5]; for (int i = 0; i < arr.Length; i++) { newArr[i] = Convert.ToUInt64(arr[i]); } UInt64[] maxSum = newArr.Skip(1).ToArray(); UInt64[] minSum = newArr.Take(newArr.Count() - 1).ToArray(); Console.WriteLine($"{minSum.Aggregate((a,c) => a + c)} {maxSum.Aggregate((a,c) => a + c)}"); }