#include <bits/stdc++.h>
using namespace std;
string s[3];
long long x[1201], y[1201], n, m, i, a, b, k, t, zn;
bool abcde;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cin >> n >> m >> k >> t;
  for (i = 1; i <= k; i++) cin >> x[i] >> y[i];
  s[0] = "Grapes";
  s[1] = "Carrots";
  s[2] = "Kiwis";
  while (t--) {
    cin >> a >> b;
    abcde = false;
    for (i = 1; i <= k; i++)
      if ((x[i] == a) && (y[i] == b)) {
        abcde = true;
        break;
      }
    if (abcde) {
      cout << "Waste" << '\n';
      continue;
    }
    zn = (a - 1) * m + b;
    for (i = 1; i <= k; i++)
      if ((x[i] < a) || ((x[i] == a) && (y[i] < b))) zn--;
    cout << s[zn % 3] << '\n';
  }
  return 0;
}
