#include using namespace std; int main() { int n; cin >> n; int b[n]; for(int i=0; i> b[i]; int nw = 0, nw_cost = 0; for(int i=0; i