#include <bits/stdc++.h>
using namespace std;
int n, m, k, t, j;
int wx[1002], wy[1002];
int main() {
  scanf(" %d %d %d %d", &n, &m, &k, &t);
  for (int i = 0; i < k; i++) {
    scanf(" %d %d", &wx[i], &wy[i]);
  }
  for (int i = 0, a, b; i < t; i++) {
    scanf(" %d %d", &a, &b);
    for (j = 0; j < k; j++) {
      if (a == wx[j] && b == wy[j]) {
        printf("Waste\n");
        break;
      }
    }
    if (j < k) continue;
    int tot = (a - 1) * m + b;
    for (j = 0; j < k; j++) {
      if (wx[j] < a)
        tot--;
      else if (a == wx[j] && wy[j] < b)
        tot--;
    }
    if (tot % 3 == 1)
      cout << "Carrots\n";
    else if (tot % 3 == 2)
      cout << "Kiwis\n";
    else
      cout << "Grapes\n";
  }
  return 0;
}
