import java.util.*;
import java.io.*;
import java.math.*;
class Ideone {
public static void main
(String args
[]) { Scanner in
= new Scanner
(System.
in); int n = in.nextInt();
double[] X = new double[n];
double sum = 0;
for(int i = 0; i < n; i++){
X[i] = in.nextDouble();
sum += X[i]; //на лету подсчитывать сумму первых i элементов
X[i] = sum/(i+1); //и сразу же производить замену
}
for(double x : X)
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5pby4qOwppbXBvcnQgamF2YS5tYXRoLio7CiAKY2xhc3MgSWRlb25lIHsgCiAgICBwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmcgYXJnc1tdKSB7CiAgICAJU2Nhbm5lciBpbiA9IG5ldyBTY2FubmVyKFN5c3RlbS5pbik7CiAgICAJaW50IG4gPSBpbi5uZXh0SW50KCk7CiAgICAJZG91YmxlW10gWCA9IG5ldyBkb3VibGVbbl07CiAgICAJZG91YmxlIHN1bSA9IDA7CiAgICAJZm9yKGludCBpID0gMDsgaSA8IG47IGkrKyl7CiAgICAJCVhbaV0gPSBpbi5uZXh0RG91YmxlKCk7CiAgICAJCXN1bSArPSBYW2ldOwkJLy/QvdCwINC70LXRgtGDINC/0L7QtNGB0YfQuNGC0YvQstCw0YLRjCDRgdGD0LzQvNGDINC/0LXRgNCy0YvRhSBpINGN0LvQtdC80LXQvdGC0L7QsgogICAgCQlYW2ldID0gc3VtLyhpKzEpOwkvL9C4INGB0YDQsNC30YMg0LbQtSDQv9GA0L7QuNC30LLQvtC00LjRgtGMINC30LDQvNC10L3RgwogICAgCX0KICAgIAlmb3IoZG91YmxlIHggOiBYKQogICAgCQlTeXN0ZW0ub3V0LnByaW50KHgrIlx0Iik7CiAgICB9Cn0=