#include using namespace std; #define ll long long int main() { int N; cin >> N; ll ans = 0; for (int i = 0; i < N; i++) { ll A; cin >> A; ans += A; } cout << ans << endl; return 0; }