/*==========================================================================*/ /* auther: Dev1ce created: 08.04.2024 21:18:22 */ /*--------------------------------------------------------------------------*/ #include using namespace std; int main() { 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]; } long long sum = 0; for (int i = 0; i < n; i++) { sum += a[i]; } cout << sum << '\n'; return 0; }