#include int main() { int N; int sum = 0, i, n; std::cin >> N; for (n = 0; n < N; n++) { std::cin >> i; sum += i; } std::cout << sum; return 0; }