#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, mhp, reg, sp[1010][2], got[1010] = {0};
  scanf("%i %i %i\n", &n, &mhp, &reg);
  for (int i = 0; i < n; i++) {
    scanf("%i %i", &sp[i][0], &sp[i][1]);
    sp[i][0] = sp[i][0] * mhp / 100;
  }
  int sub = 0;
  int t = -1;
  int resind = 0;
  int res[1010][2];
  int hp = mhp;
  while (hp > 0) {
    t++;
    hp -= sub;
    hp = min(hp + reg, mhp);
    if (hp <= 0) break;
    int ind = -1, ch = 0;
    for (int i = 0; i < n; i++) {
      if (!got[i] && sp[i][0] >= hp && sp[i][1] > ch) {
        ch = sp[i][1];
        ind = i;
      }
    }
    if (ind == -1) {
      if (sub <= reg) {
        printf("NO\n");
        return 0;
      }
      continue;
    }
    sub += ch;
    got[ind] = true;
    res[resind][0] = t;
    res[resind][1] = ind;
    resind++;
  }
  printf("YES\n");
  printf("%i %i\n", t, resind);
  for (int i = 0; i < resind; i++) {
    printf("%i %i\n", res[i][0], res[i][1] + 1);
  }
  return 0;
}
