#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  int x[k], y[k];
  for (int i = 0; i < k; i++) {
    cin >> x[i] >> y[i];
  }
  while (t--) {
    int qx, qy;
    cin >> qx >> qy;
    qx--;
    qy--;
    int type = qx * m + qy;
    bool done = false;
    for (int i = 0; i < k; i++) {
      if (qx == x[i] - 1 && qy == y[i] - 1) {
        cout << "Waste\n";
        done = true;
      }
    }
    if (!done) {
      for (int i = 0; i < k; i++) {
        if (qx > x[i] - 1 || qx == x[i] - 1 && qy > y[i] - 1) type--;
      }
      switch (type % 3) {
        case 0:
          cout << "Carrots\n";
          break;
        case 1:
          cout << "Kiwis\n";
          break;
        case 2:
          cout << "Grapes\n";
          break;
      }
    }
  }
  return 0;
}
