#include <bits/stdc++.h>
using namespace std;
#define int long long int
#define rep(i,a,b) for(int i=a; i<b; i++)
const int N = 2e5+5;
int a[N], n, m, k, sum[N];
pair<int,int>offer[N];
int dp[2005];
signed main()
{
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
cin>>n>>m>>k;
rep(i,1,n+1) cin>>a[i];
sort(a+1,a+1+n);
rep(i,1,k+1)
{
sum[i] = sum[i-1] + a[i];
}
rep(i,0,m)
{
int x,y;
cin>>x>>y;
offer[i+1]={x,y};
}
sort(offer+1, offer+1+m);
rep(i, 0, k+1) dp[i]=sum[i];
for(int j=1; j<=m; j++)
{
for(int i=0; i<=k; i++)
{
if(offer[j].first>i) continue;
dp[i] = min(dp[i], sum[i] - sum[i-offer[j].first+offer[j].second] + dp[i-offer[j].first]);
}
}
cout<<dp[k];
}
I2luY2x1ZGUgPGJpdHMvc3RkYysrLmg+CnVzaW5nIG5hbWVzcGFjZSBzdGQ7CiNkZWZpbmUgaW50ICAgICAgICAgbG9uZyBsb25nIGludAojZGVmaW5lIHJlcChpLGEsYikgIGZvcihpbnQgaT1hOyBpPGI7IGkrKykKCmNvbnN0IGludCBOID0gMmU1KzU7CmludCBhW05dLCBuLCBtLCBrLCBzdW1bTl07CnBhaXI8aW50LGludD5vZmZlcltOXTsKaW50IGRwWzIwMDVdOwoKc2lnbmVkIG1haW4oKQp7CiAgICAgICBpb3NfYmFzZTo6c3luY193aXRoX3N0ZGlvKGZhbHNlKTsKICAgICAgIGNpbi50aWUoMCk7CiAgICAgICBjb3V0LnRpZSgwKTsKICAgICAgIGNpbj4+bj4+bT4+azsKICAgICAgIHJlcChpLDEsbisxKSBjaW4+PmFbaV07CiAgICAgICBzb3J0KGErMSxhKzErbik7CiAgICAgICByZXAoaSwxLGsrMSkKICAgICAgIHsKICAgICAgICAgICAgICBzdW1baV0gPSBzdW1baS0xXSArIGFbaV07CiAgICAgICB9CiAgICAgICByZXAoaSwwLG0pCiAgICAgICB7CiAgICAgICAgICAgICAgaW50IHgseTsKICAgICAgICAgICAgICBjaW4+Png+Pnk7CiAgICAgICAgICAgICAgb2ZmZXJbaSsxXT17eCx5fTsKICAgICAgIH0KICAgICAgIHNvcnQob2ZmZXIrMSwgb2ZmZXIrMSttKTsKICAgICAgIHJlcChpLCAwLCBrKzEpIGRwW2ldPXN1bVtpXTsKICAgICAgIGZvcihpbnQgaj0xOyBqPD1tOyBqKyspCiAgICAgICB7CiAgICAgICAgICAgICAgZm9yKGludCBpPTA7IGk8PWs7IGkrKykKICAgICAgICAgICAgICB7CiAgICAgICAgICAgICAgICAgICAgIGlmKG9mZmVyW2pdLmZpcnN0PmkpIGNvbnRpbnVlOwogICAgICAgICAgICAgICAgICAgICBkcFtpXSA9IG1pbihkcFtpXSwgc3VtW2ldIC0gc3VtW2ktb2ZmZXJbal0uZmlyc3Qrb2ZmZXJbal0uc2Vjb25kXSArIGRwW2ktb2ZmZXJbal0uZmlyc3RdKTsKICAgICAgICAgICAgICB9CiAgICAgICB9CiAgICAgICBjb3V0PDxkcFtrXTsKfQo=