#include using namespace std; int main() { int i, a, b = 0, c; cin >> a; for (i = 0; i < a; i++) { cin >> c; b += c; } cout << b << '\n'; return 0; }