1 1 2 2
1000000000 1000000000
1
 1 1 1000000000 1000000000
100 1000000000
1
 1 1 10 18
5 6
5
 2 1 1000000000 2000000000
111 999999999
101 999999998
1
 4 13 400 600
13 30
1 19
1 160
1 113
58 73 15 319 194 362 128 157 336 162 77 90 96
 1 15 100 200
283 8
30 58 16 45 80 82 55 95 24 23 86 28 51 47 20
 3 2 300 400
24 68
13 65
15 113
127 177
 1 1 2 1
1 10
1
 4 2 7 15
10 9
4 4
9 3
4 10
1 6
 2 1 1000000000 2000000000
111 1000000000
101 1000000000
5
 2 1 1000000000 2000000000
111 999999998
101 999999998
1
 1 1 1000000000 1000000000
1 1000000000
1

1000000000
 -1
 5
 111
 1
 -1
 -1
 -1
 4
 101
 -1
 -1

#include <bits/stdc++.h>
using namespace std;
long long pwr(long long base, long long p, long long mod = (1000000007LL)) {
  long long ans = 1;
  while (p) {
    if (p & 1) ans = (ans * base) % mod;
    base = (base * base) % mod;
    p /= 2;
  }
  return ans;
}
int n, k, gas[200005];
long long s, t;
pair<long long, long long> cars[200005];
vector<long long> dist;
int main() {
  scanf("%d%d%lld%lld", &n, &k, &s, &t);
  for (int i = 1; i <= n; i++)
    scanf("%lld%lld", &cars[i].second, &cars[i].first);
  sort(cars + 1, cars + n + 1);
  for (int i = 1; i <= k; i++) scanf("%d", &gas[i]);
  sort(gas + 1, gas + k + 1);
  dist.push_back(gas[1]);
  for (int i = 2; i <= k; i++) dist.push_back(gas[i] - gas[i - 1]);
  dist.push_back(s - gas[k]);
  sort(dist.begin(), dist.end(), greater<long long>());
  long long sum = accumulate(dist.begin(), dist.end(), 0);
  int start = -1;
  long long ans = (1000000007LL);
  long long curr_time = 0;
  for (int i = 1; i <= n; i++) {
    if (cars[i].first < dist[0]) continue;
    for (auto it : dist) curr_time += 2 * it;
    if (curr_time <= t) ans = min(ans, cars[i].second);
    start = i;
    break;
  }
  if (start == -1) {
    printf("-1\n");
    return 0;
  }
  for (int i = start; i <= n; i++) {
    long long cap = cars[i].first;
    while (!dist.empty() && cap >= dist.back() * 2) {
      curr_time -= dist.back();
      sum -= dist.back();
      dist.pop_back();
    }
    if (curr_time - ((int)dist.size() * cap - sum) <= t)
      ans = min(ans, cars[i].second);
  }
  if (ans == (1000000007LL)) ans = -1;
  printf("%lld", ans);
  return 0;
}
