#include using namespace std; using ll = long long; int main(){ cin.tie(nullptr); ios_base::sync_with_stdio(false); ll N, S=0; cin >> N; vector A(N); for (int i=0; i> A[i]; for (int i=0; i