#include <bits/stdc++.h>
using namespace std;
template <typename... T>
void read(T&... args) {
  ((cin >> args), ...);
}
template <typename... T>
void write(T&&... args) {
  ((cout << args << " "), ...);
}
void solve() {
  int n, m, k, t, a, b, c, d, e, f;
  cin >> n >> m >> k >> t;
  vector<pair<int, int> > waste;
  for (int i = 0; i < int(k); ++i) {
    cin >> a >> b;
    waste.emplace_back(a - 1, b - 1);
  }
  sort(waste.begin(), waste.end());
  for (int i = 0; i < int(t); ++i) {
    c = 0;
    cin >> a >> b;
    a--;
    b--;
    d = 0;
    for (auto it : waste) {
      tie(e, f) = it;
      if (e == a and f == b) {
        d = 3;
        break;
      } else if (e < a or (e == a and f < b))
        c++;
      else
        break;
    }
    if (d)
      cout << "Waste" << endl;
    else {
      d = ((a * m) + b - c) % 3;
      if (d == 0)
        cout << "Carrots" << endl;
      else if (d == 1)
        cout << "Kiwis" << endl;
      else
        cout << "Grapes" << endl;
    }
  }
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int tc = 1;
  while (tc--) solve();
}
