#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;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgojaW5jbHVkZSA8dmVjdG9yPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKaW50IG1haW4oKSB7Cgl2ZWN0b3IgPGRvdWJsZT4gYSwgYjsKCWRvdWJsZSBjdXIsIHN1bSA9IDA7Cgl3aGlsZShjaW4gPj4gY3VyKXsKCQlhLnB1c2hfYmFjayhjdXIpOwoJCXN1bSArPSBjdXI7Cgl9CgkvL9CV0YHQu9C4INC/0L7RgdC70LXQtNC+0LLQsNGC0LXQu9GM0L3QvtGB0YLRjCDRgdC+0YHRgtC+0LjRgiDQvNC10L3QtSDRh9C10Lwg0LjQtyDQtNCy0YPRhSDRjdC70LXQvNC10L3RgtC+0LIuCglpZihhLnNpemUoKSA8IDIpewoJCWNvdXQgPDwgIlRoZSBzZXF1ZW5jZSBtdXN0IGNvbnNpc3Qgb2YgYXQgbGVhc3QgdHdvIGVsZW1lbnRzLiI7Cgl9CgkKCWVsc2V7CgkJLy/Ql9Cw0L/QvtC70L3Rj9C10Lwg0LLQtdC60YLQvtGAIGIuCgkJZm9yKGludCBpPTA7IGkgPCBhLnNpemUoKTsgKytpKXsKCQkJYi5wdXNoX2JhY2soKHN1bSAtIGFbaV0pLyhhLnNpemUoKSAtIDEpKTsKCQl9CgkJCgkJLy/QktGL0LLQvtC00LjQvCDQvtGC0LLQtdGCLgoJCWNvdXQgPDwgIlRoZSBhcml0aG1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