#include using namespace std; int main() { int n; cin >> n; int accumulate = 0; for (int i = 0; i < n; i++) { int tmp; cin >> tmp; accumulate += tmp; } std::cout << accumulate << std::endl; }