#include #include #include> #include #include using namespace std; #define LL long long const int maxn = 100050; LL a[maxn],b[maxn],sumb[maxn],suma; ///LL inf = 1e18; int main() { int n; ///freopen("in.txt","r",stdin); while(scanf("%d",&n)!=EOF){ suma = 0; for(int i = 0;i