#include using namespace std; int main() { int N, sum = 0; cin >> N; vector A(N); for (int i = 0; i < N; i++){ cin >> A.at(i); sum += A.at(i); } cout << sum << endl; return 0; }