#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, t;
  vector<long long> isnot;
  cin >> n >> m >> k >> t;
  for (int i = 0; i < k; i++) {
    long long a, b;
    cin >> a >> b;
    isnot.push_back(a * 100000 + b);
  }
  string res[] = {"Carrots", "Kiwis", "Grapes"};
  for (int i = 0; i < t; i++) {
    long long a, b;
    cin >> a >> b;
    long long h = a * 100000 + b;
    bool f = 0;
    int cnt = 0;
    for (int j = 0; j < k; j++) {
      if (isnot[j] < h)
        cnt++;
      else if (isnot[j] == h)
        f = 1;
    }
    if (f) {
      printf("Waste\n");
    } else {
      int id = ((a - 1) * m + b - 1 - cnt) % 3;
      printf("%s\n", res[id].c_str());
    }
  }
  return 0;
}
