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