#include #include #include using namespace std; int main() { int n; cin >> n; vector v; for(int i=0; i> x; v.push_back(x); } long long s = 0; for(int i=0; i