#include using namespace std; int main(){ int n;cin >> n; vector a(n); for(int i=0;i> a[i]; } int dp[n+1][2]; memset(dp,0,sizeof(dp)); dp[0][0]=0; for(int i=0;i