using System;
public class Statistics
{
public static void Main(string[] args)
{
int total = 5;
int[] numbers = new int[total];
for (int i = 0; i < total; i++)
{
numbers[i] = int.Parse(Console.ReadLine());
}
int sum = 0,
average = 0,
max = int.MinValue,
min = int.MaxValue;
for (int i = 0; i < total; i++)
{
int num = numbers[i];
sum += num;
if (num > max)
{
max = num;
}
if (num < min)
{
min = num;
}
}
average = sum / total;
Console.WriteLine("Sum: " + sum);
Console.WriteLine("Average: " + average);
Console.WriteLine("Max: " + max);
Console.WriteLine("Min: " + min);
}
}