#include #include #include #include #include #include #define rep(i, a, n) for(int i = a; i < n; i++) using namespace std; using ll = long long; using P = pair; int main() { int n; cin >> n; ll ans = 0; rep(i, 0, n){ ll m; cin >> m; ans += m; } cout << ans << endl; return 0; }