#include <bits/stdc++.h>
using namespace std;
int n, m, w, q, a, b, cnt, idx;
vector<int> vec;
bool F;
string ans[] = {"Carrots", "Kiwis", "Grapes"};
int main() {
  cin >> n >> m >> w >> q;
  for (int i = 0; i < w; ++i) {
    cin >> a >> b;
    vec.push_back((a - 1) * m + (b - 1));
  }
  sort(vec.begin(), vec.end());
  for (int i = 0; i < q; ++i) {
    cin >> a >> b;
    idx = (a - 1) * m + (b - 1);
    F = 0;
    cnt = 0;
    for (int j = 0; j < w; ++j) {
      if (idx == vec[j]) {
        F = 1;
        break;
      } else if (idx > vec[j]) {
        cnt++;
      }
    }
    cout << (F == 1 ? "Waste" : ans[(idx - cnt) % 3]) << endl;
  }
  return 0;
}
