#include int main() { int N; std::cin >> N; std::vector M(N); for(auto&v:M)std::cin >> v; int n = 1< dp(n,INT_MAX); dp[0]=0; for(int x=0;x