import java.util.*;
import java.io.*;

public class goldeaxe
{
	public static void main(String[] args) throws IOException
	{
		int highScore = -1;
		int lowScore = -1;
		double averageScore = 0.0;
		int medianScore = 0;

		Scanner scanner = new Scanner(new File("goldeaxe.in"));
		int numScores = scanner.nextInt();

		int[] scores = new int[numScores];

		int total = 0;

		for (int i = 0; i < numScores; i++)
		{
			scores[i] = scanner.nextInt();
			if (scores[i] > highScore || highScore == -1)
			{
				highScore = scores[i];
			}
			if (scores[i] < lowScore || lowScore == -1)
			{
				lowScore = scores[i];
			}

			total += scores[i];
		}
		averageScore = (double)total / numScores;

		Arrays.sort(scores);

		System.out.println("Average Score: " + averageScore);
		System.out.println("High Score: " + scores[numScores - 1]);
		System.out.println("Low Score: " + scores[0]);

		if (numScores%2 == 1)
			System.out.println("Median Score: " + scores[numScores / 2]);
		else
			System.out.println("Median Score: " + (scores[numScores / 2] + scores[numScores/2 -1])/2.0);
			
		System.out.println();

		for (int i = 0; i < numScores; i++)
		{
			if (scores[i] < averageScore)
				System.out.println("The score is " + scores[i] + ". It is " + ((int)((averageScore - scores[i]) / averageScore * 100)) + "% below the average.");
			else
				System.out.println("The score is " + scores[i] + ". It is " + ((int)((scores[i] - averageScore) / averageScore * 100)) + "% above the average.");
		}

		scanner.close();
	}
}
