#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d, e;
  cin >> a >> b >> c >> d;
  vector<pair<int, int>> v;
  while (c--) {
    int aa, bb;
    cin >> aa >> bb;
    v.push_back({aa, bb});
  }
  string s = "ckg";
  sort(v.begin(), v.end());
  int as = v[0].second;
  for (int i = 1; i < v.size(); i++) {
    if (v[i].first == v[i - 1].first && as > v[i].second) {
      swap(v[i], v[i - 1]);
    }
    as = v[i].second;
  }
  while (d--) {
    int aa, bb;
    cin >> aa >> bb;
    int res, ab;
    bool flag = false, ff = false;
    for (int i = 0; i < v.size(); i++) {
      if (aa == v[i].first && bb == v[i].second) {
        cout << "Waste" << endl;
        flag = true;
        break;
      } else if (aa <= v[i].first && bb <= v[i].second || aa < v[i].first) {
        res = (aa - 1) * b + bb;
        res -= i;
        ab = res % 3;
        ff = true;
        break;
      }
    }
    if (!ff) {
      res = (aa - 1) * b + bb;
      res -= (v.size());
      ab = res % 3;
    }
    if (ab == 0) {
      ab = 2;
    } else {
      ab -= 1;
    }
    char ch = s[ab];
    if (ch == 'c' && !flag) {
      cout << "Carrots" << endl;
    } else if (ch == 'k' && !flag) {
      cout << "Kiwis" << endl;
    } else if (ch == 'g' && !flag) {
      cout << "Grapes" << endl;
    }
  }
}
