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