#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, m, k, t, z, a, in;
  long long A = 0, x;
  cin >> n >> m >> k >> t;
  vector<int> v;
  while (k--) {
    cin >> x >> z;
    v.push_back((x - 1) * m + z);
  }
  sort(v.begin(), v.end());
  for (int i = 0; t > i; i++) {
    cin >> x >> z;
    a = (x - 1) * m + z;
    in = upper_bound(v.begin(), v.end(), a) - v.begin();
    if (v[in - 1] == a)
      cout << "Waste" << endl;
    else {
      a = (a - in) % 3;
      if (a == 1)
        cout << "Carrots" << endl;
      else if (a == 2)
        cout << "Kiwis" << endl;
      else if (a == 0)
        cout << "Grapes" << endl;
    }
  }
}
