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