#include <bits/stdc++.h>
using namespace std;
const int M = 1e5 + 1;
int main() {
  int n, m, k, t;
  cin >> n >> m >> k >> t;
  string Ans[] = {"Carrots", "Kiwis", "Grapes"};
  int a[k], b[k];
  for (int i = 0; i < k; i++) {
    cin >> a[i] >> b[i];
  }
  for (int i = 0; i < t; i++) {
    int x, y;
    cin >> x >> y;
    int cur = 0;
    for (int j = 0; j < k; j++) {
      if (x == a[j] && y == b[j]) {
        puts("Waste");
        cur = -1;
        break;
      }
      if (a[j] < x || a[j] == x && b[j] < y) {
        cur++;
      }
    }
    if (cur != -1) {
      x--, y--;
      int idx = (x * m + y - cur) % 3;
      idx += 3;
      idx %= 3;
      printf("%s\n", Ans[idx].c_str());
    }
  }
}
