//#include #include using namespace std; typedef long long ll; const int INF = 1e9; const ll LINF = ll(1e18) + 1; const int mod = 1000000007; const int dx[4] = {0, 1, 0, -1}, dy[4] = {-1, 0, 1, 0}; const int Dx[8] = {0, 1, 1, 1, 0, -1, -1, -1}, Dy[8] = {-1, -1, 0, 1, 1, 1, 0, -1}; #define yes cout << "Yes" << endl #define YES cout << "YES" << endl #define no cout << "No" << endl #define NO cout << "NO" << endl #define rep(i, n) for (int i = 0; i < n; i++) #define ALL(v) v.begin(), v.end() #define debug(v) \ cout << #v << ":"; \ for (auto x : v) \ { \ cout << x << ' '; \ } \ cout << endl; template bool chmax(T &a, const T &b) { if (a < b) { a = b; return 1; } return 0; } template bool chmin(T &a, const T &b) { if (b < a) { a = b; return 1; } return 0; } //cout< b; struct matrix{ ll a[70][70]; matrix(){ for (ll i = 0; i < 2; i++) { for(ll j=0;j<2;j++){ a[i][j]=0; } } } }; matrix mult(matrix a, matrix b){ matrix c; for(ll i=0;i<2;i++){ for(ll j=0;j<2;j++){ for(ll k=0;k<2;k++) c.a[i][j]=(c.a[i][j]+(a.a[i][k]*b.a[k][j])%mod)%mod; } } return c; } matrix binpow(matrix a, ll b){ matrix res; for(ll i=0;i<2;i++)res.a[i][i]=1; while(b){ if(b&1) res=mult(res,a); b>>=1; a=mult(a,a); } return res; } long long modinv(long long a, long long m) { long long b = m, u = 1, v = 0; while (b) { long long t = a / b; a -= t * b; swap(a, b); u -= t * v; swap(u, v); } u %= m; if (u < 0) u += m; return u; } int main() { cin.tie(0); ios::sync_with_stdio(false); cin >> n>>m>>k>>p>>q; for (int i = 0; i < n; i++) { ll temp; cin >> temp; b.push_back(temp); } ll drink_sum=0; rep(i,m){ drink_sum+=b[i]; } ll kit_sum=0; for(int i=m;i