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