#include using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int n; cin >> n; vector v(n); long long int res = 0; for(int i=0;i> v[i]; } for(int i=0;i