#include #include using namespace std; int main(){ int n; int count=0; long long sum=0; long long in; cin >> n; while(count!=n){ cin>>in; sum = sum + in; count++; } cout << sum; return 0; }