#include using namespace std; #ifdef LOCAL #include "../algo/debug.hpp" #else #define debug(...) void(0) #endif void solve() { int n; cin >> n; vector a(n); for(int i = 0; i < n; i++) cin >> a[i]; long long sm = accumulate(a.begin(), a.end(), 0LL); cout << sm << endl; } int main() { int T = 1; // cin >> T; while (T--) { solve(); } return 0; }