#include using namespace std; #define rep(i,a,b) for(int i=a;i> N; rep(i, 0, N) scanf("%d", &x[i]); cout << solve() << endl; }