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