#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  double maxh, reg;
  double arr[1000][2];
  cin >> n >> maxh >> reg;
  double dps = 0, helth = maxh;
  for (int i = 0; i < n; i++) cin >> arr[i][0] >> arr[i][1];
  vector<pair<int, int> > scrols;
  int j = -1;
  pair<int, int> scrol;
  do {
    j++;
    helth -= dps;
    helth = min(maxh, helth + reg);
    int numb = -1, dp = 0;
    if (helth > 0) {
      for (int i = 0; i < n; i++) {
        if (helth / maxh * 100. <= arr[i][0] && arr[i][0] > 0)
          if (arr[i][1] > dp) {
            numb = i;
            dp = arr[i][1];
          }
      }
      if (numb != -1) {
        dps += dp;
        arr[numb][0] = -1;
        scrol.first = numb;
        scrol.second = j;
        scrols.push_back(scrol);
      }
    }
  } while (helth > 0 && j < 10000);
  if (helth <= 0) {
    cout << "YES" << endl;
    cout << j << " " << scrols.size() << endl;
    for (int i = 0; i < scrols.size(); i++) {
      cout << scrols[i].second << " " << scrols[i].first + 1 << endl;
    }
  } else
    cout << "NO";
  return 0;
}
