#include <bits/stdc++.h>
using namespace std;
vector<int> v;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n, m, k, t, x, y;
  cin >> n >> m >> k >> t;
  for (int i = 0; i < k; i++) {
    cin >> x >> y;
    v.push_back((x - 1) * m + y);
  }
  sort(v.begin(), v.end());
  for (int i = 0; i < t; i++) {
    cin >> x >> y;
    int val = (x - 1) * m + y;
    x = lower_bound(v.begin(), v.end(), val) - v.begin();
    if (v[x] == val) {
      cout << "Waste\n";
    } else {
      val -= x;
      if (val % 3 == 1) {
        cout << "Carrots \n";
      } else if (val % 3 == 2) {
        cout << "Kiwis\n";
      } else {
        cout << "Grapes\n";
      }
    }
  }
  return 0;
}
