#include <bits/stdc++.h>
using namespace std;
vector<int> ans;
string cnt[3] = {"Carrots", "Kiwis", "Grapes"};
int main() {
  int n, m, k, t;
  scanf("%d%d%d%d", &n, &m, &k, &t);
  int x, y;
  while (k--) {
    scanf("%d%d", &x, &y);
    ans.push_back((x - 1) * m + y);
  }
  sort(ans.begin(), ans.end());
  while (t--) {
    scanf("%d%d", &x, &y);
    int p = 0, pos = (x - 1) * m + y, i;
    for (i = 0; i < ans.size() && ans[i] < pos; ++i, ++p)
      ;
    if (ans[i] == pos) {
      cout << "Waste" << endl;
      continue;
    }
    pos = pos - 1 - p;
    cout << cnt[pos % 3] << endl;
  }
  return 0;
}
