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