#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  pair<int, int> waste[k], q;
  for (auto& w : waste) cin >> w.first >> w.second;
  sort(waste, waste + k);
  while (t--) {
    cin >> q.first >> q.second;
    int beg = 0, mid, end = k - 1, ans = -1;
    while (beg <= end) {
      mid = (beg + end) / 2;
      if (waste[mid] <= q) {
        ans = mid;
        beg = mid + 1;
      } else {
        end = mid - 1;
      }
    }
    if (ans != -1 and waste[ans] == q)
      cout << "Waste";
    else {
      int var = (m * (q.first - 1) + q.second - ans - 1) % 3;
      var %= 3;
      if (var == 0)
        cout << "Grapes";
      else if (var == 1)
        cout << "Carrots";
      else
        cout << "Kiwis";
    }
    cout << '\n';
  }
}
