#include using namespace std; int main() { long N, A, sum = 0; cin >> N; while (cin >> A) sum += A; cout << sum << "\n"; }