using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace y1131 { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); string[] str = Console.ReadLine().Split(' '); int[] number = new int[n]; int ans = 0; for(int i = 0; i < n; i++) { number[i] = int.Parse(str[i]); ans += number[i]; } int avg = ans / n; int result = 0; for (int i = 0; i < n; i++) { result = 50 - ((avg - number[i]) / 2); Console.WriteLine(result); } } } }