#include <bits/stdc++.h>
using namespace std;
long long cnt, a, d[3005], s;
int main() {
  int n;
  cin >> n;
  s = 0;
  for (int i = 0; i < n; i++) {
    cin >> d[i];
    s += d[i];
  }
  cout << s << endl;
}
