#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  vector<pair<int, int> > v(k);
  for (int i = 0; i < k; i++) {
    cin >> v[i].first >> v[i].second;
  }
  for (int i = 0; i < t; i++) {
    pair<int, int> a;
    int s = 0;
    cin >> a.first >> a.second;
    bool ok = 1;
    for (int j = 0; j < k; j++) {
      if (v[j] == a) {
        cout << "Waste" << endl;
        ok = 0;
        break;
      } else {
        if (v[j] < a) s++;
      }
    }
    if (ok) {
      s = (a.first - 1) * (m) + a.second - 1 - s;
      if (s % 3 == 0) {
        cout << "Carrots" << endl;
      }
      if (s % 3 == 1) {
        cout << "Kiwis" << endl;
      }
      if (s % 3 == 2) {
        cout << "Grapes" << endl;
      }
    }
  }
  return 0;
}
