import java.util.*;
import java.lang.*;
import java.io.*;
class Ideone{
double k;
double d = 0;
int b=1;
Scanner x
= new Scanner
(System.
in); int n=x.nextInt();
for (int i=1;i<=n;i++){
k = x.nextDouble();
k/=b;
b*=i;
d+=k;
}
}
}
aW1wb3J0IGphdmEudXRpbC4qOwppbXBvcnQgamF2YS5sYW5nLio7CmltcG9ydCBqYXZhLmlvLio7CgpjbGFzcyBJZGVvbmV7CglwdWJsaWMgc3RhdGljIHZvaWQgbWFpbiAoU3RyaW5nW10gYXJncykgdGhyb3dzIGphdmEubGFuZy5FeGNlcHRpb257CgkJZG91YmxlIGs7CgkJZG91YmxlIGQgPSAwOwoJCWludCBiPTE7CgkJU2Nhbm5lciB4ID0gbmV3IFNjYW5uZXIoU3lzdGVtLmluKTsKCQlpbnQgbj14Lm5leHRJbnQoKTsKCQlmb3IgKGludCBpPTE7aTw9bjtpKyspewoJCQlrID0geC5uZXh0RG91YmxlKCk7CgkJCWsvPWI7CgkJCWIqPWk7CgkJCWQrPWs7CgkJfQoJCVN5c3RlbS5vdXQucHJpbnQoZCk7Cgl9Cn0=