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