#include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main(){ int N; long long S=0, S2=0; double ans=0, s, s2; cin >> N; assert(N <= 100000); vector A(N); for (int i=0; i> A[i]; S += A[i]; assert(1 <= A[i]); } assert(S <= 1e9); for (int i=0; i