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