#include #include using namespace std; int main() { double n,ave; double sum=0; cin>>n; vector a(n),d(n); for (int i=0;i>a.at(i); } for (int j=0;j