#include using namespace std; int main() { int n; cin >> n; long long a, sum = 0; for (int i = 0; i < n; i++) { cin >> a; sum += a; } cout << sum << endl; }