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