#include #define endl '\n' typedef long long ll; using namespace std; int main(void) { ios::sync_with_stdio(false); cin.tie(0); int n; cin >> n; vector a(n); for (int i = 0; i < n; i++) { cin >> a[i]; } ll ans = accumulate(a.begin(), a.end(), 0LL); cout << ans << endl; return 0; }