#define _USE_MATH_DEFINES #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; typedef pairP; const ll MOD=1e9+7; const int INF = 1000000000; int main() { int N; ll r=0; cin>>N; for(int i=0;i>t; r+=t; } cout<