#include <iostream>
#include <vector>
using namespace std;

int main() {
	vector <double> a, b;
	double cur, sum = 0;
	while(cin >> cur){
		a.push_back(cur);
		sum += cur;
	}
	//Если последовательность состоит мене чем из двух элементов.
	if(a.size() < 2){
		cout << "The sequence must consist of at least two elements.";
	}
	
	else{
		//Заполняем вектор b.
		for(int i=0; i < a.size(); ++i){
			b.push_back((sum - a[i])/(a.size() - 1));
		}
		
		//Выводим ответ.
		cout << "The arithmetic average of all elements of this series except the element №i is:\n";
		for(int i=0; i < b.size(); ++i){
			cout << "for i = " << i+1 << ": " << b[i] << '\n';
		}
	}
	return 0;
}