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