#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  int n, m, k, t, x, y, j;
  vector<int> a;
  cin >> n >> m >> k >> t;
  for (int i = 0; i < k; i++) {
    cin >> x >> y;
    a.push_back((x - 1) * m + y);
  }
  sort(a.begin(), a.end());
  for (int i = 0; i < t; i++) {
    cin >> x >> y;
    x = (x - 1) * m + y;
    for (j = 0; j < a.size() && a[j] < x; j++)
      ;
    if (a[j] == x)
      cout << "Waste";
    else {
      x -= j;
      x %= 3;
      if (x == 0)
        cout << "Grapes";
      else if (x == 1)
        cout << "Carrots";
      else
        cout << "Kiwis";
    }
    cout << endl;
  }
  return 0;
}
